Nagios plugin for Windows processor, disk and memory
check-winpdm is a Nagios plugin to monitor basic resources of processor,
disk and memory on the local Windows system. It previously existed as check_pdm.
Examples:
check_pdm --processor --warning 60 --critical 90 --psamples 10 --pinterval 5
Calculates an average CPU utilization value by sampling the related performance counter 10 times with 5-seconds intervals. In addition to a one-line status output, it also returns CRITICAL if the calculated value is above 90, WARNING if it is above 60 or NORMAL otherwise.
check_pdm --disk --drive C: -w 97.5 -c 99.5
Gets utilization of C: drive, produces a one-line status output, returns CRITICAL if the measured value is above 97.5%, WARNING if it is above 99.5% or NORMAL otherwise.
check_pdm --memory -w 90 -c 99
Gets information about physical memory usage, produces a one-line status output, returns CRITICAL if the measured value is above 99, WARNING if it is above 90 or NORMAL otherwise.
check_pdm --memory pagefile -w 80 -c 95
Gets information about pagefile usage, produces a one-line status output, returns CRITICAL if the measured value is above 95, WARNING if it is above 80 or NORMAL otherwise.