the level for warning and critical

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fsodah
Posts: 295
Joined: Thu Sep 12, 2019 1:19 am

the level for warning and critical

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: the level for warning and critical

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
fsodah
Posts: 295
Joined: Thu Sep 12, 2019 1:19 am

Re: the level for warning and critical

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: the level for warning and critical

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
fsodah
Posts: 295
Joined: Thu Sep 12, 2019 1:19 am

Re: the level for warning and critical

Post by fsodah »

Done .... i made the second one i ll be monitor it for the next days ... please close the ticket
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: the level for warning and critical

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked