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

 



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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值