check_cpu
$Revision: 332 $
check_cpu [-H HOST] [-w CPUWARN] [-c CPUCRIT] [-W IOWARN] [-C IOCRIT]
H
Dummy for compatibility with Nagios.
w
Accumulated cpu usage (system + user) warning level in percent. Defaults to 80%.
c
Accumulated cpu usage (system + user) critical level in percent. Defaults to 90%.
W
i/o wait warning level in percent. Defaults to 5%.
C
i/o wait critical level in percent. Defaults to 10%.
This nagios/icinga check script checks the cpu usage and i/o wait rate. It also returns the perfdata (user, nice, system, idle, iowait, irq and softirq).
Getopt::Long
Pod::Usage