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.

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

Previous

Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 31 guests