Home | 簡體中文 | 繁體中文 | 雜文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品與服務 | Email

第 32 章 Munin

目錄

32.1. 用戶認證
32.2. munin-node and plugins
32.2.1. munin-node.conf
32.2.2. mysql plugin
32.2.3. apache plugin
32.2.4. memcached plugin
32.3. munin.conf
32.4. munin-node
32.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/

32.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