Nagios Core Alerting Current load

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Re: Nagios Core Alerting Current load

Postby skypete » Thu Jun 21, 2018 8:04 am

Hi would this be in the libexec/check-load
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Thu Jun 21, 2018 8:24 am

skypete wrote:Hi would this be in the libexec/check-load


no, it would be a .cfg file that has contents that look just like the one I posted above
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: 18909
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Core Alerting Current load

Postby skypete » Thu Jun 21, 2018 8:30 am

Ok found that service command this is what it looks like at the moment.


# Define a service to check the load on the local machine.

Code: Select all
define service{
        use                              Name of service template to use
        host_name                       nagios
        service_description             Current Load
        check_command                   check_local_load!10.0,8.0,6.0!20.0,12.0,8.0
       }
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Thu Jun 21, 2018 8:34 am

Great.

Now replace that with this

Code: Select all
define service{
        use                              Name of service template to use
        host_name                       nagios
        service_description             Current Load
        check_command                   check_local_load!80.0,64.0,48.0!160.0,128.0,64.0
       }


And then restart nagios

Code: Select all
service nagios restart
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: 18909
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios Core Alerting Current load

Postby skypete » Thu Jul 05, 2018 4:01 pm

Thank you that worked.
skypete
 
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Postby scottwilkerson » Thu Jul 05, 2018 4:12 pm

Excellent, marking resolved
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: 18909
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Previous

Return to Community Support

Who is online

Users browsing this forum: No registered users and 28 guests