Time for action – installing the CactiWMI add-on – Part 1

  1. Logon to your Cacti server.
  2. Change to the /tmp directory:
    cd /tmp
    
  3. Download the Cacti WMI add-on (http://forums.cacti.net/download/file.php?id=16949):
    wget –O CactiWMI.tgz 
    
  4. Extract the files from the archive:
    tar -xzvf CactiWMI.tgz
    
  5. Change into the created directory:
    cd 0.0.6.r101/
    
  6. Run the following commands. They will copy the wmi script to the correct Cacti path as well as create the necessary directories. The chmod 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.