Time for action – installing the Plugin Architecture
Right-click on the latest PIA version compatible with your installation.
Copy the link-target to the clipboard.
Logon to your Cacti installation as root.
Change to the Cacti base directory:
cd /var/www/html/cacti/
Download the PIA:
wget http://www.cacti.net/downloads/pia/cacti-plugin-0.8.7g-PA-v2.9.tar.gz
Unpack the archive:
tar -xzvf cacti-plugin-0.8.7g-PA-v2.9.tar.gz
A new directory will be created named
cacti-plugin-arch
.Run the patching process using the following command. Alternatively, you can also use the pre-patched files contained in the PIA archive:
patch -p1 -N < cacti-plugin-arch/cacti-plugin-0.8.7g-PA-v2.9.diff
Check for any error message as shown in the following screenshot:
In case of errors, you can copy the already patched files from the
cacti-plugin-arch/files-0.8.7g/
directory:cp cacti-plugin-arch/files-0.8.7g/poller.php . cp cacti-plugin-arch/files-0.8.7g/data_sources.php...