tar -zxvf boost-v5.1-1.tgz mv boost /home/web/cacti/plugins/ vi *.php //将#!头中的php路径修改为/usr/local/php/bin/php,同时修改cacti_rrdsvc和cacti_boost.conf中的相关路径 注意需要修改boost_server.php的这三行为: include_once("/home/web/cacti/include/global.php"); include_once("/home/web/cacti/lib/rrd.php"); include_once("/home/web/cacti/lib/poller.php"); #导入boost表结构 /usr/local/mysql/bin/mysql -u root -p'密码' cacti < /home/web/cacti/boost/boost_sql_memory.sql #启动boost /home/web/cacti/plugins/boost/cacti_rrdsvc start
然后在cacti的界面上,Plugin Management,将boost给Install,并且Enable,再修改Setting,修改boost参数,随便点点就行了...废话:
Cacti的默认插件一般都不太够用,我个人喜欢用这套插件: