cacti_ntop插件配置安装
一、 服务端配置
1:下載安裝rpmforge-release
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
2:yum install rrdtool
3:yum install ntop //安装ntop服务
4:ntop -u ntop -w 3000 -d //启动ntop服务进程
ntop startup - waiting for user response!
Please enter the password for the admin user: Sun Feb 20 06:32:00 2011 THREADMGMT[t3036109712]: DNSAR(1): Address resolution thread running
Sun Feb 20 06:32:00 2011 THREADMGMT[t3015130000]: DNSAR(3): Address resolution thread running
Please enter the password for the admin user: //此处输入用户ntop密码
Please enter the password again: //二次确认输入ntop密码
指定完成之后,我们就可以访问http://hostIP:3000来访问了。
或者用此命令,将其放到后台执行:
ntop –u ntop -w 3000 &
二、 安装cacti的ntop插件
cd /var/www/html/cacti/plugins
tar zxvf ntop.tar.gz
vi ../ include/config.php
#在$plugins = array();的后面加上如下内容
$plugins[] = ‘ntop’;
至此,cacti和ntop的整合工作就做完了。