mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 18:33:45 +01:00
This commit is contained in:
parent
e2d9f6e73c
commit
88787eda36
@ -325,7 +325,7 @@ strInfo=""
|
|||||||
Set colWMI = objWMIService.ExecQuery("Select * from Win32_PerfRawData_PerfDisk_LogicalDisk")
|
Set colWMI = objWMIService.ExecQuery("Select * from Win32_PerfRawData_PerfDisk_LogicalDisk")
|
||||||
for Each objWMI In colWMI
|
for Each objWMI In colWMI
|
||||||
strOut = strOut & objWMI.Name & ", "
|
strOut = strOut & objWMI.Name & ", "
|
||||||
strPerfdata = strPerfdata & "'disk_read_" & objWMI.Name & "'=" & objWMI.DiskReadBytesPerSec & " " & "'disk_write_" & objWMI.Name & "'=" & objWMI.DiskWriteBytesPerSec & " "
|
strPerfdata = strPerfdata & "'disk_read_" & objWMI.Name & "'=" & objWMI.DiskReadBytesPerSec & " " & "'disk_write_" & objWMI.Name & "'=" & objWMI.DiskWriteBytesPerSec & " " & "'disk_queue_" & objWMI.Name & "'=" & objWMI.CurrentDiskQueueLength & " "
|
||||||
next
|
next
|
||||||
strResultTemp = "; Logical Disks: " & strOut & " | " & strPerfdata
|
strResultTemp = "; Logical Disks: " & strOut & " | " & strPerfdata
|
||||||
Exit Function
|
Exit Function
|
||||||
|
Loading…
Reference in New Issue
Block a user