Module: check_mk
Branch: master
Commit: 2b3aebcac894e6e726a462455b7bbe830845d35f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2b3aebcac894e6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 20 08:53:13 2012 +0100
Windows agent: Added dmi_sysinfo.bat plugin (Thanks to Housecrew for sharing)
---
ChangeLog | 1 +
agents/windows/plugins/dmi_sysinfo.bat | 15 +++++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 075ce76..2ca8e95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@
* Windows agent: output eventlog texts in UTF-8 encoding. This
should fix problems with german umlauts in message texts.
* Windows agent: Added installer for the windows agent (install_agent.exe)
+ * Windows agent: Added dmi_sysinfo.bat plugin (Thanks to Housecrew for sharing)
* Disabled obsolete checks fc_brocade_port and fc_brocade_port_detailed.
Please use brocade_fcport instead.
* aironet_errors, statgrab_disk, statgrab_net: Performance data has
diff --git a/agents/windows/plugins/dmi_sysinfo.bat
b/agents/windows/plugins/dmi_sysinfo.bat
new file mode 100644
index 0000000..6b566b6
--- /dev/null
+++ b/agents/windows/plugins/dmi_sysinfo.bat
@@ -0,0 +1,15 @@
+@echo off
+
+REM ***
+REM * To be able to run this check you need to install dmidecode
+REM * on your windows client.
+REM *
+REM * You can download dmidecode for windows from
+REM * <http://gnuwin32.sourceforge.net/packages/dmidecode.htm>
+REM *
+REM * This plugin should work out of the box if you install dmidecode
+REM * to the default location.
+REM ***
+
+echo ^<^<^<dmi_sysinfo^>^>^>
+C:\Programme\GnuWin32\sbin\dmidecode.exe -t 1 -q