Page 1 of 1

the level for warning and critical

Posted: Mon Nov 11, 2019 12:45 pm
by fsodah

Code: Select all

command[check_load]=/usr/local/nagios/libexec/check_load -r -w .45,.40,.35 -c .60,.55,.50
I would like to monitor the load of my server only when 80-85% busy should give warning and it should give 90-95% critical alert ... how should i perform above check load command ... am i doing the correct parameter above ... thanks

Re: the level for warning and critical

Posted: Mon Nov 11, 2019 1:08 pm
by scottwilkerson
The above would give a WARNING if the load average per CPU was above any of the following"

Code: Select all

1 minute load - 0.45
5 minute load - 0.40
15 minute load - 0.35
The above would give a CRITICAL if the load average per CPU was above any of the following"

Code: Select all

1 minute load - 0.60
5 minute load - 0.55
15 minute load - 0.50

Re: the level for warning and critical

Posted: Mon Nov 11, 2019 1:15 pm
by fsodah

Code: Select all

command[check_load]=/usr/local/nagios/libexec/check_load -r -w .45,.40,.35 -c .60,.55,.50

Code: Select all

command[check_load]=/usr/local/nagios/libexec/check_load -r -w .69,.66,.65 -c .90,.80,.70 
Which one should i use ..
when 80-85% busy should give warning and it should give 90-95% critical alert

Re: the level for warning and critical

Posted: Mon Nov 11, 2019 1:33 pm
by scottwilkerson
fsodah wrote:

Code: Select all

command[check_load]=/usr/local/nagios/libexec/check_load -r -w .45,.40,.35 -c .60,.55,.50

Code: Select all

command[check_load]=/usr/local/nagios/libexec/check_load -r -w .69,.66,.65 -c .90,.80,.70 
Which one should i use ..
when 80-85% busy should give warning and it should give 90-95% critical alert
Unfortunately I cannot make this choice for you. There is so much more that goes into a busy server than just CPU, but the second one seems more logical if that is your target.

Re: the level for warning and critical

Posted: Mon Nov 11, 2019 1:35 pm
by fsodah
Done .... i made the second one i ll be monitor it for the next days ... please close the ticket

Re: the level for warning and critical

Posted: Mon Nov 11, 2019 1:52 pm
by scottwilkerson
fsodah wrote:Done .... i made the second one i ll be monitor it for the next days ... please close the ticket
Great!

Locking thread