Time for action – installing the CactiWMI add-on – Part 1
- Logon to your Cacti server.
- Change to the
/tmp
directory:cd /tmp
- Download the Cacti WMI add-on (http://forums.cacti.net/download/file.php?id=16949):
wget –O CactiWMI.tgz
- Extract the files from the archive:
tar -xzvf CactiWMI.tgz
- Change into the created directory:
cd 0.0.6.r101/
- Run the following commands. They will copy the
wmi
script to the correct Cacti path as well as create the necessary directories. Thechmod
commands change the permissions of the files so Cacti is able to perform WMI calls:cp wmi.php /var/www/html/cacti/scripts mkdir -p /etc/cacti mkdir -p /var/log/cacti/wmi chown cactiuser:cactiuser /etc/cacti -R chown cactiuser:cactiuser /var/log/cacti/wmi -R chmod 700 /etc/cacti ...
Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.