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

  1. Logon to your Linux Cacti server with root privileges.
  2. Make sure you've got the subversion client installed:
    yum install subversion
    
  3. Checkout the latest version of the source files containing the wmic command:
    svn checkout http://dev.zenoss.org/svn/trunk/wmi/Samba/source
    
  4. Change into the source directory:
    cd source
    
  5. Run the autogen script to generate the configure script:
    ./autogen.sh
    
  6. Run configure:
    ./configure
    
  7. After the command finishes you can run the make all command to compile all necessary binaries:
    make all
    
  8. This will create the bin directory. Change into it:
    cd bin
    
  9. Look for the wmic binary file and run it:
    # ls -l wmic
    -rwxr-xr-x 1 root root 6908608 Oct 17 18:28 wmic
    # ./wmic --version ...

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.