Skip to content

Instantly share code, notes, and snippets.

@jkern
Created February 11, 2010 01:54
Show Gist options
  • Save jkern/301118 to your computer and use it in GitHub Desktop.
Save jkern/301118 to your computer and use it in GitHub Desktop.
# Download Zenoss Source
wget http://downloads.sourceforge.net/project/zenoss/zenoss-2.5%20%28Latest%20Stable%29/zenoss-2.5.1/zenoss-2.5.1.tar.gz
# Extract the wmi directory
tar zxvf zenoss-2.5.1.tar.gz
cd zenoss-2.5
tar zxvf
cd
# Install autoconf
sudo aptitude install autoconf
# Patch the GNUmakefile
# add the line ZENHOME= ../..
# Build WMI
make
#Get a cup of coffee.
#Copy Files
cp bin/* /usr/local/bin/
cp lib/python/* /usr/local/lib/python
#Execute wmic
wmic --user DOMIAN/\username%password //hostname "Select Name from Win32_Service"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment