Page 1 of 1

multiple threshold for nagios plugin for check_load

Posted: Thu Jan 09, 2014 3:39 am
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

Re: multiple threshold for nagios plugin for check_load

Posted: Thu Jan 09, 2014 10:20 am
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

Re: multiple threshold for nagios plugin for check_load

Posted: Thu Jan 09, 2014 8:50 pm
by helpcodemonkey
hi, thank you for the explanation.