multiple threshold for nagios plugin for check_load

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
helpcodemonkey
Posts: 5
Joined: Wed Mar 13, 2013 4:35 am

multiple threshold for nagios plugin for check_load

Post by helpcodemonkey »

hi,

i studying nagios plugin configuration and i see one of the line as this:

Code: Select all

check_load -w 20,15,10 -c 30,25,20
i understand -w is to check warning threshold and -c for critical threshold. what i am not sure is the comma separated values. what does it mean for -w 20,15,10? and likewise for -c 30,25,20. will check_load return warning if the value falls above 20, 15 and 10?

regards,
christopher
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: multiple threshold for nagios plugin for check_load

Post by tmcdonald »

Loads in Unix systems are expressed in 1, 5, and 15 minute intervals. Those comma-separated values are used to specify warning and critical levels for those three intervals. In this case:

Warning at load of 20 over the last minute, or load of 15 over the last 5 minutes, or load of 10 over the last 15 minutes
Critical at load of 30 over the last minute, or load of 25 over the last 5 minutes, or load of 20 over the last 15 minutes
Former Nagios employee
helpcodemonkey
Posts: 5
Joined: Wed Mar 13, 2013 4:35 am

Re: multiple threshold for nagios plugin for check_load

Post by helpcodemonkey »

hi, thank you for the explanation.
Locked