Select one.Plug-insTo make ourCactiThe monitoring function is more comprehensive and more careful. The following describes how to install and use the Cacti plug-in!
1. Install the PA of cacti.
Before installing other plug-ins, you must install a patch of cacti-Plugin Architecture to support plug-ins.
Relationship between PA and cacti versions
PA 1.0 = cacti 0.8.6i
PA 1.1 = cacti 0.8.6i et 0.8.4.7
PA 2.0 = cacti 0.8.7b
PA 2.2 = cacti 0.8.7c
PA 2.4 = cacti 0.8.7d
We use 0.8.7, so we use the latest 2.4
Wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7d-PA-v2.4.zip
Unzip cacti-plugin-0.8.7d-PA-v2.4.zip-d cacti-plugin-arch
Cp-R cacti-plugin-arch/*/usr/share/cacti/
- #cd /usr/share/cacti/
-
- #mysql -ucacti -p cacti < pa.sql
-
If you are a Chinese cacti, execute the following command (download required)
Patch-p1-N <cacti-plugin-0.8.7d-PA-v2.4-cn-utf8.diff
If you are in English, download the original
Patch-p1-N <cacti-plugin-0.8.7d-PA-v2.4.diff
After this is done, the image may be incorrect (the premise is that the url you set is http: // xxx/cacti). You need to modify the following content.
- vim include/global.php
-
- $config['url_path'] = ‘/cacti/’;
-
Choose "user Management"> "admin"> "regional Permissions"> "Plugin Management ".
Install the settings, thold, and monitor plug-ins.
The monitor plug-in provides simpler and more intuitive device status diagrams;
The thold plug-in provides device exception warnings.
Cd cacti/plugins
- #wget http://mirror.cactiusers.org/downloads/plugins/settings-0.5.tar.gz
-
- #tar zxvf settings-0.5.tar.gz
-
- #wget http://mirror.cactiusers.org/downloads/plugins/thold-0.4.1.tar.gz
-
- #tar zxvf thold-0.4.1.tar.gz
-
- #wget http://cactiusers.org/downloads/monitor.tar.gz
-
- #tar zxvf monitor.tar.gz
-
- #vim ../include/global.php
-
Add the following content after $ plugins = array ();
- $plugins[] = ‘thold’;
-
- $plugins[] = ‘settings’;
-
- $plugins[] = monitor;
-