你好,游客 登录 注册 搜索
背景:
阅读新闻

Cacti及其相关插件的安装

[日期:2013-10-31] 来源:Linux社区  作者:pjp5945 [字体:大 中 小]

修改apache的配置文件

[root@cacti ApacheStats_0.8.2]#cd

[root@cacti ~]# vim/etc/httpd/conf/httpd.conf

 

217 ExtendedStatus On /////打开这一行

 

903 #<Location /server-status>

904 # SetHandler server-status

905 # Order deny,allow

906 # Deny from all

907 # Allow from .example.com

908 #</Location>

909 <Location /server-status>

910 SetHandler server-status

911 Order deny,allow

912 Deny from all

913 Allow from all

914 </Location>

将apache重启

[root@cacti ~]# service httpd restart

203719676.jpg

 

在安装插件之前要先安装插件管理器

[root@cacti cacti]# cd /root/software/

[root@cacti software]# tar -zxvf cacti-plugin-0.8.7g-PA-v2.8.tar.gz

[root@cacti software]# cp -R cacti-plugin-arch/* /var/www/html/cacti/

[root@cacti software]# cd /var/www/html/cacti/

[root@cacti cacti]# mysql -u root -pcacti<pa.sql

[root@cacti cacti]# patch -p1 -N<cacti-plugin-0.8.7g-PA-v2.8.diff

[root@cacti cacti]# vim include/config.php

42 $url_path = "/cacti/"; /////修改这一行的路径

 

 

安装插件

[root@cacti cacti]# cd /root/software/

[root@cacti software]# tar -zxvf monitor-latest.tgz

[root@cacti software]# tar -zxvf settings-latest.tgz

[root@cacti software]# tar -zxvf thold-latest.tgz

[root@cacti software]# mv monitor-0.9/ /var/www/html/cacti/plugins/monitor

[root@cacti software]# mv settings-0.6/ /var/www/html/cacti/plugins/settings

[root@cacti software]# mv thold-0.41/ /var/www/html/cacti/plugins/thold

 

在控制台启用插件

203329517.jpg

203343804.jpg

203354534.jpg

linux
相关资讯       Cacti安装  Cacti插件 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款