Code: Select all
define service {
host_name Svr-Data
service_description Ping
check_command check_ping!60.0,5%!100.0,10%
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups admins2
register 1
}
Code: Select all
define command{
command_name check-host-alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5
}
I have also been seeing some weird issues in the Nagios UI that is basically saying the status is down but all the services are ok. I have seen this several times and tired reloading the Nagios service and the httpd service but it does not seem to fix it. This does eventually go away on its own and change to status up but it sometimes takes a day or so.