-
Notifications
You must be signed in to change notification settings - Fork 29
Nagios Plugin check_intr
Davide Madrisan edited this page Dec 18, 2016
·
3 revisions
check_intr - monitors the total number of system interrupts
[/etc/nrpe.d/check_intr]
command[check_intr]=/usr/lib/nagios/plugins/check_intr 1 2
This plugin monitors the total number of system interrupts.
Copyright (C) 2014,2015 Davide Madrisan <[email protected]>
Usage:
check_intr [-v] [-w COUNTER] -c [COUNTER] [delay [count]]
Options:
-w, --warning COUNTER warning threshold
-c, --critical COUNTER critical threshold
-v, --verbose show details for command-line debugging (Nagios may truncate output)
-h, --help display this help and exit
-V, --version output version information and exit
delay is the delay between updates in seconds (default: 1sec)
count is the number of updates (default: 2)
Examples:
check_intr -w 10000 1 2
intr OK - number of interrupts/s 9318 | intr/s=9318 intr_cpu0/s=1157 intr_cpu1/s=1724 intr_cpu2/s=2862 intr_cpu3/s=3579
intr/s
intr_cpu0/s
intr_cpu1/s
...
The variable intr report the total number of interrupts, for each of the possible system interrupts, including unnumbered architecture specific ones.
The performance data intr_cpuN report the number of interrupts per cpu per IO device.
Since Linux 2.6.24, for the i386 and x86_64 architectures at least, this also includes interrupts internal to the system (that is, not associated with a device as such.)