您的位置:首页 > 编程语言 > PHP开发

cacti插件学习手札--php-Weathermap

2013-11-14 18:07 507 查看
今天一直在配置cacti的一个插件network-weathermap,终于搞定,接下来就把配置过程记录如下,network-weathermap的最后可以实现如下图所示的结构


首先下载network-weathermap的cacti插件,最新版本是0.95,地址:http://www.network-weathermap.com/files/php-weathermap-0.95b.zip
将下载下来的文件放到/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的用户
之后就可以正常使用了

阅读(604) | 评论(1) | 转发(0) |

0
上一篇:MTK 手机开发小技巧(3)

下一篇:linux软RAID的创建和维护

相关热门文章

傅雷钟情艺术家李流芳...

傅雷钟情艺术家李流芳...

PHP学习书籍整理

行走云南旅游手札-瑞丽中缅边...

亲子之间也需“一米线”【知课...

linux 常见服务端口

【ROOTFS搭建】busybox的httpd...

什么是shell

linux socket的bug??

linux的线程是否受到了保护?...

请教想查12个月的数据条数,看...

new/delete 和malloc/free 有...

ubuntu下hadoop环境的搭建...

求助:如何用Linux架设ISATAP...

redhat图形界面不出先登录界面...

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



chinaunix网友2010-09-02 15:58:14
Download More than 1000 free IT eBooks: http://free-ebooks.appspot.com 回复 | 举报

评论热议
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: