mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-05 10:03: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")
|
||||
for Each objWMI In colWMI
|
||||
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
|
||||
strResultTemp = "; Logical Disks: " & strOut & " | " & strPerfdata
|
||||
Exit Function
|
||||
|
Loading…
Reference in New Issue
Block a user