标签:cacti 插件 spine weathermap clog monitor setting thold
spine插件
1.wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.8f.tar.gz
tar -zxvf cacti-spine-0.8.8f.tar.gz
2.yum install -y gcc net-snmp-devel mysql-devel openssl-devel automake autoconf libtool make
3.cd cacti-spine-0.8.8f.tar.gz
./configure
4.make
5.make install
6.cp /usr/local/spine/bin/spine /usr/bin/spine
7.cp /usr/local/spine/bin/spine /usr/bin/spine
8.cp /usr/local/spine/etc/spine.conf.dist /etc/spine.conf
9.vi /etc/spine.conf
修改数据库用户名密码,如果没有更改当初用户名密码则不用修改
10./usr/bin/spine //测试spine
11.在cacti中指定spine路径
在cacti中指定类型为spine
weathermap插件
1.wget http://network-weathermap.com/files/php-weathermap-0.97c.zip
2.cp php-weathermap-0.97c.zip /var/www/http/plugins/
3.yum install -y unzip
在官网查看安装文档
chown -R apache:apache weathermap/
chown -R apache:apache weathermap/
chown -R apache:apache weathermap/
4.在cacti中启用weathermap
5.修改weathermap/editor.php
将ENABLED修改为true
6.可添加对weathermap进行验证
vi/etc/httpd/conf/httpd.conf
<Directory /var/www/html/plugins/weathermap>
<Files editor.php>
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /var/www/html/plugins/weathermap/.htpasswd
require valid-user
</Files>
</Directory>
7.添加weathermap认证用户,admin 123456
htpasswd -bc /var/www/html/plugins/weathermap/.htpasswd admin 123456
重启apache
clog插件----
wget http://docs.cacti.net/_media/plugin:clog-v1.7-1.tgz
mv plugin:clog-v1.7-1.tgz clog.tgz
tar -zxvf clog.tgz
chown -R apache:apache clog.tgz
设置后在cacti界面打开plugin,添加即可
monitor插件
wget http://docs.cacti.net/_media/plugin:monitor-v1.3-1.tgz
mv plugin:monitor-v1.3-1.tgz monitor-v1.3-1.tgz
tar -zxvf monitor-v1.3-1.tgz
chown -R apache:apache monitor.tgz
setting插件(thold依赖setting)
wget http://docs.cacti.net/_media/plugin:settings-v0.71-1.tgz
mv plugin:settings-0.71-1.tgz setting-v0.71-1.tgz
tar -zxvf setting-v0.71-1.tgz
chown -R apache:apache setting
thold插件
wget http://docs.cacti.net/_media/plugin:thold-v0.5.0.tgz
mv plugin:thold-v0.5.0.tgz thold-v0.5.0.tgz
tar -zxvf thold-v0.5.0.tgz
chown -R apache:apache thold
安装完成后先启动settting再启动thold
本文出自 “please” 博客,谢绝转载!
标签:cacti 插件 spine weathermap clog monitor setting thold
原文地址:http://please.blog.51cto.com/812063/1718796