Download plugin “monitor”
$ wget http://cactiusers.org/downloads/monitor.tar.gz
$ tar -zxvf monitor.tar.gz
Move monitor plugins into cacti plugins directory
$mv /root/tmp/monitor /var/www/cacti/plugins/
You will see a file like below : Now goto the directory that you extracted the Plugin Architecture to. In this directory you will find several files with names simular to this “cacti-plugin-0.8.7a-PA-v1.4.diff”.
This is a patch file that contains everything you need to install the Plugin Architecture. You will copy the file that corresponds with your Cacti version to the location of your Cacti install using a command prompt (if you weren’t already using one!) ex : /var/www/cacti
Run patch into cacti root location :
$ cp cacti-plugin-0.8.7a-PA-v1.4.diff /var/www/cacti
$ cd /var/www/cacti
$ patch -p1 -N < cacti-plugin-0.8.7a-PA-v1.4.diff
Next, we need to configure and install plugins “monitor” plugins into cacti :
...... /* Default session name - Session name must contain alpha characters */ $cacti_session_name = "Cacti"; $plugins = array(); $plugins[] = 'monitor'; //$plugins[] = 'xxxxx_plugins'; <-- if you have another plugin you can just put here //$plugins[] = 'xxxxx_plugins'; /* Do not edit this line */ $config = array(); /* This is full URL Path to the Cacti installation For example, if your cacti was accessible by http://server/cacti/ you would user '/cacti/' as the url path. For just http://server/ use '/' */ $config['url_path'] = '/'; .......... Save this file and exit.
From:http://techgurulive.com/2009/02/11/how-to-install-cacti-plugin-architecture-in-linux/


