unable to set nagios load threshold value

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ansaaft
Posts: 19
Joined: Mon Aug 20, 2018 5:08 am

unable to set nagios load threshold value

Post by ansaaft »

Hey Guys,

I am trying to monitor load on servers, but been having issues setting the threshold value.

Server Specs:
1 server: 12 cores
1 server: 4 cores

Based on the rule(y = c * p / 100) I have tried the below values as well, still getting warning, even when there is no load on server(1.03, 1.04, 1.05). For 12 cores
-a '-w 10.8,9.6,8.4 -c 12.0,10.8,9.6'
Output of command:
/usr/local/nagios/libexec/check_nrpe -H HOSTADDRESS -t 30 -c check_load -a '-w 10.8,9.6,8.4 -c 12.0,10.8,9.6'
WARNING - load average per CPU: 0.10, 0.09, 0.09|load1=0.096;0.150;0.300;0; load5=0.089;0.100;0.250;0; load15=0.088;0.050;0.200;0;

My goal is to get warning on 90% and critical on 100%.
OR WARNING when 11 cores are 100% used and CRITICAL when 12 cores are 100% used

Have read posts/documentation regarding setting nagios thresholds but still not getting the right solution.

Thanks in advance.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: unable to set nagios load threshold value

Post by scottwilkerson »

Can you share the command definition you have in your nrpe.cfg for check_load

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ansaaft
Posts: 19
Joined: Mon Aug 20, 2018 5:08 am

Re: unable to set nagios load threshold value

Post by ansaaft »

Hey Scott, just reading your reply enlightened me where I am wrong. I just changed the default command definition to use my custom command. It worked!

Thanks a ton!!!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: unable to set nagios load threshold value

Post by scottwilkerson »

ansaaft wrote:Hey Scott, just reading your reply enlightened me where I am wrong. I just changed the default command definition to use my custom command. It worked!

Thanks a ton!!!
Glad it is resolved!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked