Home | Mirror | Search

第 33 章 Munin

目錄

1. 用戶認證
2. munin-node and plugins
2.1. munin-node.conf
2.2. mysql plugin
2.3. apache plugin
2.4. memcached plugin
3. munin.conf
4. munin-node
4.1. munin-node.conf

http://munin-monitoring.org/

# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm	
# yum install munin -y	
# yum install munin-node -y
# yum install munin-java-plugins -y
# yum install unbound-munin -y
# service munin-node start
# chkconfig munin-node on
	

test

# telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
# munin node at datacenter.example.com
list
cpu df df_inode entropy forks fw_packets http_loadtime if_err_eth0 if_eth0 interrupts iostat iostat_ios irqstats load memory munin_stats netstat open_files open_inodes proc_pri processes sendmail_mailqueue sendmail_mailstats sendmail_mailtraffic swap threads uptime users vmstat yum
	

http://localhost/munin/

1. 用戶認證

$ sudo vim /etc/apache2/conf.d/munin.conf
			
        AuthUserFile /etc/munin/munin-htpasswd
        AuthName "Munin"
        AuthType Basic
        require valid-user
			
		
comments powered by Disqus