[网络监控]CACTI插件settings和weathermap的安装

本次只记录安装方法,至于使用还是自己摸索摸索吧
Plugin architecture
Settings
官方网站:http://cactiusers.org/
Weathermap
官方网站:www.network-weathermap.com
安装方法:
1.先安装插件包管理工具Plugin architecture
[root@centmini ~]# unzip cacti-plugin-0.8.7e-PA-v2.5.zip
[root@centmini ~]# mysql -p cacti<pa.sql
[root@centmini ~]# cp cacti-plugin-0.8.7e-PA-v2.5.diff /var/www/html/cacti/
[root@centmini ~]# cd /var/www/html/cacti/
[root@centmini cacti]# patch -p1 -N <cacti-plugin-0.8.7e-PA-v2.5.diff
[root@centmini cacti]# vi include/global.php
$config['url_path'] = ‘/cacti/’;
并修改SQL数据库的参数
重新登录cacti即可,如果Configuration里没有Plugin Management 先进User Management里将Plugin Management选上。
2.settings的安装
解压到cacti的plugin文件夹
修改include/global.php
$plugins[] = ‘settings’;
常见问题:Status: Old Plugin Architecture – Running 而不是install 和enable选项,原因可能是版本太低,不过只要是running就表示正常工作了。
3.weathermap安装
解压到cacti的plugin文件夹
修改include/global.php
$plugins[] = ‘weathermap’;
[root@centmini cacti]# cd plugins/weathermap/
[root@centmini weathermap]# chown cactiuser output/
[root@centmini weathermap]# cp editor-config.php-dist editor-config.php
[root@centmini weathermap]# chown apache configs/
[root@centmini weathermap]# chmod u+w configs/
[root@centmini weathermap]# vi editor-config.php
$cacti_base = “/var/www/html/cacti”;
$cacti_url = “http://192.168.128.3/cacti/“;[改成自己的IP]
$mapdir= $cacti_base.’/plugins/weathermap/configs’;
OK了,再次登录面板左上角会显示weathermap
可能出现的问题:
Required PHP extensions are not present in your mod_php/ISAPI PHP module. Please check your PHP setup to ensure you have the GD extension installed and enabled.
解决办法:安装php-gd重启apache即可。
下一篇: SecureCRT传文件


目前这篇文章还没有评论(Rss)