Chinaunix首页 | 论坛 | 博客
  • 博客访问: 20999
  • 博文数量: 2
  • 博客积分: 250
  • 博客等级: 二等列兵
  • 技术积分: 80
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-24 23:49
文章分类

全部博文(2)

文章存档

2008年(2)

我的朋友
最近访客

分类: LINUX

2008-09-24 12:13:47

今天一直在配置cacti的一个插件network-weathermap,终于搞定,接下来就把配置过程记录如下,network-weathermap的最后可以实现如下图所示的结构
首先下载network-weathermap的cacti插件,最新版本是0.95,地址:
将下载下来的文件放到/apacheserver/cactiinstalldir/plugins下
然后执行

unzip php-weathermap-0.95b.zip

然后编辑/apacheserver/cactiinstalldir/included/global.php

$plugins = array();   找到此行
$plugins[] = 'monitor';
$plugins[] = 'weathermap'   加入此行

然后保存退出,之后就登陆到cacti中
如图所示启用admin对weathermap的权限

cd /apacheserver/cactiinstalldir/plugins/weathermap
chown -R apacherunuser configs    改变configs目录属于apache运行的用户
cd /apacheserver/cactiinstalldir/plugins/weathermap/
chown -R cactiuser output   改变output目录为cacti的用户

之后就可以正常使用了
阅读(880) | 评论(2) | 转发(0) |
0

上一篇:没有了

下一篇:cacti插件

给主人留下些什么吧!~~

chinaunix网友2009-02-16 16:25:40

我按照你的步骤做了,但是在weathermap下,点add node加不上点阿,这是为什么?

chinaunix网友2009-02-16 16:22:18

写得很好阿