Chinaunix首页 | 论坛 | 博客
  • 博客访问: 315968
  • 博文数量: 50
  • 博客积分: 3052
  • 博客等级: 中校
  • 技术积分: 710
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-03 12:13
文章分类
文章存档

2009年(10)

2008年(40)

我的朋友

分类: LINUX

2008-06-18 14:05:41

今天一直在配置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的用户

之后就可以正常使用了
阅读(2166) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~