Time for action – installing the CactiWMI add-on – Part 2
- Logon to your Linux Cacti server with root privileges.
- Make sure you've got the subversion client installed:
yum install subversion
- Checkout the latest version of the source files containing the wmic command:
svn checkout http://dev.zenoss.org/svn/trunk/wmi/Samba/source
- Change into the source directory:
cd source
- Run the
autogen
script to generate theconfigure
script:./autogen.sh
- Run configure:
./configure
- After the command finishes you can run the
make
all
command to compile all necessary binaries:make all
- This will create the
bin
directory. Change into it:cd bin
- 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.