Nagios Core Alerting Current load

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Nagios Core Alerting Current load

Postby skypete » Tue Jun 19, 2018 7:24 pm

Hi I have Been getting alerts stating current load from nagios core. This has been of a lot lately not sure what the issue it is. It is a physical server and has good amount of cpu power and memory. Can some point me in the right direction to resolve this been a pain of late. Thanks
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Wed Jun 20, 2018 10:31 am

Can you be more specific? what load is it reaching? How many CPU's does the system have, what is the output of wa when running
Code: Select all
top


What are the results of
Code: Select all
ps aux
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15778
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Core Alerting Current load

Postby skypete » Wed Jun 20, 2018 2:13 pm

Hi it has 16 cpu's the load average is showing now 1.26,4,39 4,96 when I ran ps aux bunch of results came out would you want me to take screen shot? Thanks.
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Wed Jun 20, 2018 2:20 pm

If you have 16 CPU's that's not a high load.

You likely just need to change the settings for the Current Load check (which by default is for 1 CPU)

Can you share your config for that service on localhost and I can make a recommendation?

Basically you can multiply each of the items in warning and critical by 16

so if you had this for the warning 5.0,4.0,3.0 replace with this 80.0,64.0,48.0

same for critical, if you have 10.0,6.0,4.0 replace with 160.0,128.0,64.0
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15778
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Core Alerting Current load

Postby skypete » Wed Jun 20, 2018 2:54 pm

Sure what config would you need me to share and thank you.
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Wed Jun 20, 2018 2:55 pm

skypete wrote:Sure what config would you need me to share and thank you.


The one that contains "Current Load" service for localhost
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15778
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Core Alerting Current load

Postby skypete » Wed Jun 20, 2018 3:11 pm

Is this the one your looking for check_nt_perf_counter? I am not sure the exact file. I was monitoring the server and now it is showing hope this helps.

warning critical

cpu user (76.4/76.4/76.4)
cpu user (82.9/82.9/82.9)
cpu user (72.6/72.6/72.6)
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Wed Jun 20, 2018 3:17 pm

You said you were getting Current load alerts from the nagios server? It is the config for that service I would need, it would have nothing to do with check_nt_perf_counter

and I have no idea what these are, it would completely depend on what you have setup.

skypete wrote:warning critical

cpu user (76.4/76.4/76.4)
cpu user (82.9/82.9/82.9)
cpu user (72.6/72.6/72.6)


I really have to make a suggestion. Only monitor items that you know what to do with if they reach the warning and critical values YOU set.

Monitoring anything else is just creating noise. Also, Nagios support forums can help you resolve some issues, with Nagios but we cannot fix the servers you are monitoring. That is the job of you Systems and Network Administrators.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15778
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Core Alerting Current load

Postby skypete » Wed Jun 20, 2018 3:26 pm

Let me explain this better I would get a email and this is what it is showing.

service: current load
address 127.0.0.1
state warning
WARNING-load average: 2.64,7.03,7.63
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Wed Jun 20, 2018 3:55 pm

skypete wrote:Let me explain this better I would get a email and this is what it is showing.

service: current load
address 127.0.0.1
state warning
WARNING-load average: 2.64,7.03,7.63


Perfect. So you need to find the configuration file that is for current load with a host of localhost

It will look similar to this:
Code: Select all
define service {
   host_name         localhost
   service_description      Current Load
   use            local-service
   check_command         check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
   max_check_attempts      1
   check_interval         10
   retry_interval         1
   notification_period      24x7
   notifications_enabled      1
   register         1
   }   
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 15778
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Next

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 18 guests

cron