Performance

A Useful Sample

Description: 

This sample actually contains a couple of useful checks.
They check IO performance. The first check against a logical drive, the second against a physical drive.
Fields to check for Warning/critical states are provided along with performance data.

The Logical check needs a single parameter - the Windows drive letter eg C:
If you do not specify ARG1 then the check will not work.

The Physical check needs a single parameter - the Windows drive letter eg C:
If you do not specify ARG1 then the check will return information on the first drive it finds (because the query uses LIKE and %.)

I have not tested the physical check on too many systems so the physical drives names might not be as expected. If you are not finding what you expect leave ARG1 blank and use the -d parameter to view the debug output and find the actual WMI Query output - that will include the actual physical drives names for that specific system.

Subscribe to Performance