天天看点

cacti-0.8.7g的安装

 安装cacti,完后总是显示error,无法open rra,版本是cacti-0.8.8a,rrdtool1.4.7

在rrd目录下没有文件产生,试过调试,可是不行

接着想换版本,cacti换成cacti-0.8.7g,rrdtool1.4.5,在http://ip/cacti选择php和rrdtool路径时候要注意,上面error这个错误很有可能是我选择路径的时候选择错了,接着安装插件

cat cacti/include/config.php

/* load up old style plugins here */

$plugins = array();

#$plugins[] = 'thold';

/*

   Edit this to point to the default URL of your Cacti install

   ex: if your cacti install as at http://serverip/cacti/ this

   would be set to /cacti/

*/

$url_path = "/cacti/";

最后chmod 777 cacti/rrd -R,chmod 777 cacti/log -R,不过注意scripts,poller.php,cmd.php这几个的权限,有问题的话,最好手动执行一下,终于出图了

调试命令 /usr/local/php/bin/php -q /var/www/html/cacti/poller.php --force --debug

<a href="http://blog.51cto.com/attachment/201301/175031892.jpg" target="_blank"></a>

本文转自 liqius 51CTO博客,原文链接:http://blog.51cto.com/szgb17/1111061,如需转载请自行联系原作者