Cacti安装插件之thold

深秋、 / 2024-08-10 / 原文

Cacti 安装插件之 thold

 

基本环境

os:rhel5.5 i386

rpm:lamp

cacti:0.8.8a

rrdtool:1.4.5

 

1, 安装 settings 插件

#wget http://docs.cacti.net/_media/plugin:settings-v0.7-1.tgz

#mv plugin\:settings-v0.7-1.tgz settings-v0.7-1.tgz

#tar  zxvf settings-v0.7-1.tgz -C /var/www/html/cacti/plugins

 

2, 安装 thold 插件

#wget http://docs.cacti.net/_media/plugin:thold-v0.4.9-3.tgz

#mv plugin\:thold-v0.4.9-3.tgz thold-v0.4.9-3.tgz

#tar zxvf thold-v0.4.9-3.tgz -C /var/www/html/cacti/plugins

3, 更改 config.php 主配置文件

#cat /var/www/html/cacti/include/config.phps

$database_type = "mysql";

$database_default = "cacti";

$database_hostname = "localhost";

$database_username = "cacti";

$database_password = "cacti";

$database_port = "3306";

$database_ssl = false;

$plugins[] = 'ntop';

$plugins[] = 'npc';

$plugins[] = 'settings';

$plugins[] = 'thold';

4, 设置 cacti 添加进 thold

控制面板 ----- 插件管理 ---settings 和 thold 安装和启用

控制面板 ----- 用户管理 ---admin--- 看到选上了 thresholds 等

看看 thold 已经安装上了,不过没有配置