Nagios Core Alerting Current load

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Post by skypete »

Hi would this be in the libexec/check-load
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Core Alerting Current load

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

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

Re: Nagios Core Alerting Current load

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
skypete
Posts: 98
Joined: Sat Dec 02, 2017 11:44 pm

Re: Nagios Core Alerting Current load

Post by skypete »

Thank you that worked.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Core Alerting Current load

Post by scottwilkerson »

Excellent, marking resolved
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked