Page 2 of 2

Re: Nagios Core Alerting Current load

Posted: Thu Jun 21, 2018 8:04 am
by skypete
Hi would this be in the libexec/check-load

Re: Nagios Core Alerting Current load

Posted: Thu Jun 21, 2018 8:24 am
by scottwilkerson
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

Re: Nagios Core Alerting Current load

Posted: Thu Jun 21, 2018 8:30 am
by skypete
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
       }

Re: Nagios Core Alerting Current load

Posted: Thu Jun 21, 2018 8:34 am
by scottwilkerson
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

Re: Nagios Core Alerting Current load

Posted: Thu Jul 05, 2018 4:01 pm
by skypete
Thank you that worked.

Re: Nagios Core Alerting Current load

Posted: Thu Jul 05, 2018 4:12 pm
by scottwilkerson
Excellent, marking resolved