Module: check_mk
Branch: master
Commit: 836e46f1fc003c1cd766e9978dbb166e33eaded0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=836e46f1fc003c…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Jun 25 15:30:48 2012 +0200
windows_multipath: Fixed errors in plugin
---
agents/windows/plugins/windows_multipath.vbs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/agents/windows/plugins/windows_multipath.vbs
b/agents/windows/plugins/windows_multipath.vbs
index 9cae99b..1cbf259 100644
--- a/agents/windows/plugins/windows_multipath.vbs
+++ b/agents/windows/plugins/windows_multipath.vbs
@@ -9,13 +9,12 @@ Dim objWMIService, objItem, colItems, strComputer
' On Error Resume Next
strComputer = "."
-# added for check_mk parsing (fh(a)mathias-ketter.de)
+' added for check_mk parsing (fh(a)mathias-ketter.de)
Wscript.Echo "<<<windows_multipath>>>"
' WMI connection to Root WMI
Set objWMIService = GetObject("winmgmts:\\" & strComputer &
"\root\WMI")
-Set colItems = objWMIService.ExecQuery("Select * from
-MPIO_PATH_INFORMATION")
+Set colItems = objWMIService.ExecQuery("Select * from MPIO_PATH_INFORMATION")
For Each objItem in colItems
Wscript.Echo objItem.NumberPaths