cacti监控(4)插件安装
由于我用的是最新版本的cacti-0.8.8a,所以在这里就不需要打补丁来支持插件的安装了。那么怎么样知道不需要打补丁呢,打开console --〉〉User management 如果发现有plug management的话就说明不需要打补丁了
http://blog.运维网.com/attachment/201305/083241956.jpghttp://blog.运维网.com/e/u/themes/default/images/spacer.gif
http://blog.运维网.com/e/u/themes/default/images/spacer.gif1,settings安装
用于邮件报警
# tar zxvf settings-0.5.tar.gz
# mv settings /usr/local/apache/htdocs/cacti/plugins
点击Console---〉〉Plugin Management 我们会看到多了一个settings 的插件,然后点击蓝色的启动箭头就可以用了
http://blog.运维网.com/attachment/201305/084109846.jpg
打开Console--〉〉settings后会发现多了一个Mail/DNS的选项卡
在cacti的配置文件中添加settings插件,这一步是可选的
$plugins[]='settings'
2,Monitor安装
以图形方式显示设备状态
# tar zvxf monitor-0.8.2.tar.gz
# mv monitor/usr/local/apache/htdocs/cacti/plugins/
# cd /usr/local/apache/htdocs/cacti/plugins/monitor/
# mysql -ucacti -pcacti123 cacti < monitor.sql
打开Console -〉Plugin management点击蓝色箭头就可以启用Monitor
3,threshold/thold安装
其实这两个插件是一个插件,用于设备异常预警,阈值报警
# tar zxvf thold-0.4.2.tar.gz
# mv thold /usr/local/apache/htdocs/cacti/plugins/
# cd /usr/local/apache/htdocs/cacti/plugins
# mysql -ucacti -pcacti123 cacti < thold/thold.sql
打开Console--〉Plugin Management 点击蓝色的箭头,启用thold
4,weathermap 安装
绘制网络状况图
# unzip php-weathermap-0.95b.zip
# mv weathermap /usr/local/apache/htdocs/cacti/plugins
# chmod -R 777/usr/local/apache/htdocs/cacti/plugins/weathermap/
打开Console--〉〉Plugin Management 启用weathermap
点击 Console--〉〉User Management --〉〉admin 勾选如下选项
http://blog.运维网.com/attachment/201305/090903935.jpg
最终的结果就是这样的
http://blog.运维网.com/attachment/201305/091254242.jpg
页:
[1]