Module: check_mk
Branch: master
Commit: 2ceeb8edaa3aea56be1bbae91c5a27508d9abe96
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2ceeb8edaa3aea…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jan 10 08:56:51 2013 +0100
FIX: win_dhcp_pools: removed faulty output on non-german windows 2003 servers with no dhcp
server installed (Thanks to Mathias Decker)
---
ChangeLog | 2 ++
agents/windows/plugins/win_dhcp_pools.bat | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 132fab0..3caf204 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -45,6 +45,8 @@
* FIX: hr_fs: handle negative values in order to larger disks (thanks to Christof
Musik)
* FIX: mssql_backup: Fixed wrong calculation of backup age in seconds
* FIX: winperf_processor: Showing 0% on "cmk -nv" now instead of 100%
+ * FIX: win_dhcp_pools: removed faulty output on non-german windows 2003 servers
+ with no dhcp server installed (Thanks to Mathias Decker)
* New script multisite_to_mrpe for exporting services from a remote system
diff --git a/agents/windows/plugins/win_dhcp_pools.bat
b/agents/windows/plugins/win_dhcp_pools.bat
index f90093a..45b6074 100644
--- a/agents/windows/plugins/win_dhcp_pools.bat
+++ b/agents/windows/plugins/win_dhcp_pools.bat
@@ -1,3 +1,3 @@
@echo off
echo ^<^<^<win_dhcp_pools^>^>^>
-netsh dhcp server show mibinfo | find /V ": dhcp." | find /V
"DHCP-Serverversion wurde" | find /V "nicht richtig funktionieren." |
find /V ": dhcp server show mibinfo."
+netsh dhcp server show mibinfo | find /V ": dhcp." | find /v "Server may
not function properly." | find /v "Unable to determine the DHCP Server version
for the Server" | find /V "DHCP-Serverversion wurde" | find /V "nicht
richtig funktionieren." | find /V ": dhcp server show mibinfo."