Re: Extend service_check_timeout
Posted: Wed Jan 16, 2019 5:22 pm
This is what max_check_attempts on the service config determines.chris1337c wrote:When it time's out, it retries I believe 3 times. Is this specified in the main nagios.cfg or is there a service.cfg file somewhere that houses this, I have scrolled through the config a few times and am not seeing this setting. I know exactly what it does as I have seen it on the GUI.
If you set this to 6 it would retry 6 times before sending a notification
Code: Select all
max_check_attempts 6Code: Select all
define service {
host_name 192.168.5.182
service_description / Disk Usage
use xiwizard_linuxsnmp_storage
check_command check_xi_service_snmp_linux_storage! -C public --v2c -m "^/$" -w 80 -c 95 -f
max_check_attempts 6
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
_xiwizard linux_snmp
register 1
}