Created
February 11, 2010 01:54
-
-
Save jkern/301118 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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