CentOS 7
Ads

Munin : Add Target Hosts
2015/06/11
 
It's possible to monitor other hosts.
For example, configure a host named "node01" as a monitoring target.
[1] Install "munin-node" on a new monitoring target.
# install from EPEL

[root@node01 ~]#
yum --enablerepo=epel -y install munin-node
[root@node01 ~]#
vi /etc/munin/munin-node.conf
# line 37: change to your own hostname

host_name
node01.srv.world
# line 46: add permission to connect for monitoring ( specify Munin server )

allow ^127\.0\.0\.1$
allow ^::1$
allow ^10\.0\.0\.30$
[root@node01 ~]#
systemctl start munin-node

[root@node01 ~]#
systemctl enable munin-node
[2] Configure Munin server to set new target host.
[root@dlp ~]#
vi /etc/munin/munin.conf
# add follows to the end

[node01.srv.world]
    address 10.0.0.51
    use_node_name yes
[3] Login to the Munin admin site and make sure a new taget host is displayed after few minutes later.
 
Tweet