免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5541 | 回复: 0
打印 上一主题 下一主题

个人笔记:Cacti 0.8.7e插件成功安装之:realtime [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-17 18:06 |只看该作者 |倒序浏览

个人笔记:Cacti 0.8.7e插件成功安装之:realtime
源自:杨志刚博客 (
http://yangzhigang.cublog.cn
)

前言:
继《个人笔记:Cacti 0.8.7e插件成功安装之:monitor、thold、settings》
http://blog.chinaunix.net/u2/71257/showart_2093517.html
一文之后,本文来记录我成功安装基本的插件(realtime)的步骤步骤.

小介绍:
Realtime,provides a method to view cacti graphs with a resolution of upto 5 seconds.

//下载、解压realtime插件包
(在
http://docs.cacti.net/plugins
中下载最新的插件包)
[root@centos53 ~]# cd /usr/local/src
[root@centos53 src]# wget
http://docs.cacti.net/_media/plugin:realtime-0.4.0-1.tar.gz
[/url]
[root@centos53 src]# tar zxvf realtime-0.4.0-1.tar.gz

[url=http://docs.cacti.net/_media/plugin:settings-latest.tgz]


//MV 插件包到 cacti/plugins/下
[root@centos53 src]# mv realtime /var/www/cacti/plugins/

//install、enable plugins:realtime
登录Cacti,进入[Console]-[configuration]-[Plugin Management],对plugin:realtime进行Install 和 Enable。

//给admin用户授权
登录Cacti,进行[Console]-[Utilities]-[User Management],点admin用户,在[Realm Permissions]中我,勾选“Plugin->Realtime”。

//第一次验证
此时,到[Graphs]中,找一个图,可以发现在其右侧已经出现“Realtime”的一个小Logo,但当点此logo进行realtime查看时,会发现弹出的窗口中显示The Image Cache Directory directory does not exist. Please first create it and set permissions and then attempt to open another realtime graph.”,提示出没有Cache目录以及权限等。

//设置Cache目录及权限
在realtime插件包中的README中写到:Create a folder somewhere on your system that is accessible to the  apache user for writing.
在官网的文档中对于Installation中也写到:You need to also create a folder somewhere on you system that is accessible to the apache user for writing.This folder should bo different than other transient folders used by plugins as it will b periodically pruned by this plugin.
所以,还要做如下操作。
[root@centos53 /]# mkdir /var/www/cacti/cache
[root@centos53 /]# chmod 777 -R /var/www/cacti/cache/
之后,还要login cacti,进入[console]-[configuration]-[settings]-[Misc],设置“Cache Diredtiory”为“/var/www/cacti/cache/”

//最终验证
按上面“第一次验证”的方法,验证一下,我成功了,你呢?


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/71257/showart_2097005.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP