CentOS 6
Sponsored Link

Munin : Install2015/02/18

Install Munin to monitor system status.
[2] Install Munin server.
Also Install Munin agent to monitor Munin server itself.
# install from EPEL

[root@dlp ~]#
yum --enablerepo=epel -y install munin munin-node
[3] Configure Munin.
[root@dlp ~]#
vi /etc/munin/munin.conf
# line 98: change to your own hostname

    use_node_name yes
[root@dlp ~]#
vi /etc/httpd/conf.d/munin.conf
# near line 17: add access permission

Order Deny,Allow
Deny from all
Allow from
[root@dlp ~]#
/etc/rc.d/init.d/httpd restart

Stopping httpd:
[ OK ]

Starting httpd:
[ OK ]
# add a user ( create a new file with "-c" ⇒ only add "-c" at the first time. )

[root@dlp ~]#
htpasswd -c /etc/munin/munin-htpasswd cent

New password:
# set password

Re-type new password:
Adding password for user cent
[4] Configure Munin node as a monitoring target.
[root@dlp ~]#
vi /etc/munin/munin-node.conf
# line 37: change to your own hostname

[root@dlp ~]#
/etc/rc.d/init.d/munin-node start

Starting Munin Node:
[ OK ]

[root@dlp ~]#
chkconfig munin-node on
[5] Access to the "http://(Munin server's hostname or IP address)/munin/" from a client which is in the network allowed in config. Then, authentication is required, input a username and password you set in [3] and proceed next.
[6] After sucessing authentication, the index page is displayed. It's possible to see graphs to click a hostname.
Matched Content