Nagios Core Alerting Current load
Re: Nagios Core Alerting Current load
Hi would this be in the libexec/check-load
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core Alerting Current load
no, it would be a .cfg file that has contents that look just like the one I posted aboveskypete wrote:Hi would this be in the libexec/check-load
Re: Nagios Core Alerting Current load
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.
# 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
}
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core Alerting Current load
Great.
Now replace that with this
And then restart nagios
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
}
Code: Select all
service nagios restart
Re: Nagios Core Alerting Current load
Thank you that worked.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Core Alerting Current load
Excellent, marking resolved