cacti插件thold

thold插件是用来报警发邮件的

http://docs.cacti.net/_media/plugin:settings-v0.71-1.tgz
http://docs.cacti.net/_media/plugin:thold-v0.4.9-3.tgz
 

# tar zxf settings-v0.71-1.tgz -C /usr/local/apache/htdocs/cacti/plugins
# tar zxf thold-v0.4.9-3.tgz -C /usr/local/apache/htdocs/cacti/plugins
 
cacti-console-Configuration-Plugin Management-Uninstalled-settings-install-installed-Device

Monitoring-settings-enable
cacti-console-Configuration-Plugin Management-Uninstalled-thold-install-installed-Device

Monitoring-thold-enable
 
添加邮箱报警:
 
# service sendmail start
# chkconfig --level 35 sendmail on
 
console - settings - Thresholds - Emailing Options - Dead Host Notifications Email -

yangzhiming0@126.com - save
 
注:要确保机子能联网,默认发件人为Cacti@主机域名,主机不必建DNS