summaryrefslogtreecommitdiffstats
path: root/Monitoring/nagios/plugins/getwmic.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Monitoring/nagios/plugins/getwmic.sh')
-rwxr-xr-xMonitoring/nagios/plugins/getwmic.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Monitoring/nagios/plugins/getwmic.sh b/Monitoring/nagios/plugins/getwmic.sh
new file mode 100755
index 00000000..05ba8f21
--- /dev/null
+++ b/Monitoring/nagios/plugins/getwmic.sh
@@ -0,0 +1,7 @@
+wget http://dev.zenoss.org/svn/trunk/inst/externallibs/wmi-1.3.14.tar.bz2
+tar xvf wmi-1.3.14.tar.bz2
+cd wmi-1.3.14/
+sed -i 's/all: install/ZENHOME=..\/..\nall: install/' GNUmakefile
+make
+#cp bin/* /usr/local/bin/
+#cp lib/python/* /usr/local/lib/python