Module: check_mk
Branch: master
Commit: f6591556b7a72f3e3977d39b012295602fd41c45
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f6591556b7a72f…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Wed Jan 20 15:12:31 2016 +0100
windows agent: fixed copy&paste error in inventory plugin
---
agents/windows/plugins/mk_inventory.vbs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/windows/plugins/mk_inventory.vbs
b/agents/windows/plugins/mk_inventory.vbs
index 5f573d4..f4b522a 100644
--- a/agents/windows/plugins/mk_inventory.vbs
+++ b/agents/windows/plugins/mk_inventory.vbs
@@ -143,12 +143,12 @@ Call getWMIObject("Win32_SystemEnclosure",systemVars)
' Hard-Disk
Call startSection("win_disks",58,timeUntil)
diskVars = Array(
"Manufacturer","InterfaceType","Model","Name","SerialNumber","Size","MediaType","Signature"
)
-Call getWMIObject("Win32_diskDrive",systemVars)
+Call getWMIObject("Win32_diskDrive",diskVars)
' Graphics Adapter
Call startSection("win_video",58,timeUntil)
adapterVars = Array( "Name", "Description", "Caption",
"AdapterCompatibility", "VideoModeDescription",
"VideoProcessor", "DriverVersion", "DriverDate",
"MaxMemorySupported")
-Call getWMIObject("Win32_VideoController",systemVars)
+Call getWMIObject("Win32_VideoController",adapterVars)
' Installed Software
Call startSection("win_wmi_software",124,timeUntil)