Plugins Monitor Pada CACTI
Prasyarat :
- Cacti sudah berjalan (kalo bisa cacti 0.8.7.d)
- Download plugin monitor
http://cactiusers.org/downloads/monitor.tar.gz
- Download Plugin Architecture
http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7d-PA-v2.4.zip
Install Plugin Architecture
---------------------------
agink$ sudo mkdir /var/www/cacti/plugins
cara 1:
agink$ cd /tmp/
agink$ wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7d-PA-v2.4.zip
agink$ sudo unzip cacti-plugin-0.8.7d-PA-v2.4.zip
agink$ cd cacti-plugin-0.8.7d-PA-v2.4
agink$ sudo cp cacti-plugin-0.8.7d-PA-v2.4.diff /var/www/cacti/
agink$ cd /var/www/cacti/
agink$ sudo patch -p1 -N < cacti-plugin-0.8.7d-PA-v2.4.diff
Cara 2:
agink$ cd /tmp/
agink$ wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7d-PA-v2.4.zip
agink$ sudo unzip cacti-plugin-0.8.7d-PA-v2.4.zip
agink$ cd cacti-plugin-0.8.7d-PA-v2.4
agink$ cd files-0.8.7d
agink$ sudo cp -R include/ /var/www/cacti/include
agink$ sudo cp -R lib/ /var/www/cacti/lib
agink$ sudo cp -R plugins/ /var/www/cacti/plugins
agink$ sudo cp *.php /var/www/cacti/
Install Plugin Monitor
----------------------
agink$ cd /tmp/
agink$ wget http://cactiusers.org/downloads/monitor.tar.gz
agink$ sudo tar -zvxf monitor.tar.gz
agink$ sudo mkdir /var/www/cacti/plugins
agink$ sudo mv monitor /var/www/cacti/plugins/
agink$ sudo vim /var/www/cacti/include/global.php
edit+tambahkan seperti dibawah, sesuaikan dengan cacti anda :
/* Default database settings*/
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactipassword";
$database_port = "3306";
$plugins = array();
$plugins[] = 'monitor';
$config['url_path'] = 'http://cacti.domain.com/';
Import database plugin monitor
agink$ mysql cacti -u cactiuser -p < /var/www/cacti/plugins/monitor/monitor.sql
Selesai deh...sekarang buka browser cacti anda...
Read more...