retry-interval seems not working in my configuration
Posted: Wed Apr 12, 2017 10:32 pm
Hello,There
In my nagios core installation , recently i found that the retry-interval seems not working ,eg ,for server 'QX1' , i intended to set it as 1 min ,but actually in the log ,i see its 5 min between each check ,i check google and also this forum ,but haven't found why ,can you help to check,thanks .
real server 'QX1' ,use template 'pi-server'
template 'pi-server' ,use template 'generic-host'
check_interval 10
retry_interval 1
max_check_attempts 5
template 'generic-host'
retry_interval 3
max_check_attempts 3
From the following log ,i see the retry-interval is 5 min , not the 1 min as wanted .
nagios-03-06-2017-00.log:[1488668959] HOST ALERT: QX1;DOWN;SOFT;1;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488669262] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488669562] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488669863] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488670162] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488670464] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.060 second response time
nagios-03-09-2017-00.log:[1488983853] HOST ALERT: QX1;DOWN;SOFT;1;HTTP CRITICAL: HTTP/1.0 503 Service Unavailable - 313 bytes in 0.065 second response time
nagios-03-09-2017-00.log:[1488984160] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-09-2017-00.log:[1488984521] HOST ALERT: QX1;UP;SOFT;3;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.046 second response time
nagios-03-13-2017-00.log:[1489273503] HOST ALERT: QX1;DOWN;SOFT;1;HTTP CRITICAL: HTTP/1.0 503 Service Unavailable - 313 bytes in 0.066 second response time
nagios-03-13-2017-00.log:[1489273806] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489274106] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489274406] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489274706] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489275307] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.024 second response time
nagios-03-20-2017-00.log:[1489878495] HOST ALERT: QX1;DOWN;SOFT;1;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489878803] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489879102] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489879402] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489879703] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489880306] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.024 second response time
nagios-03-22-2017-00.log:[1490123480] HOST ALERT: QX1;DOWN;SOFT;1;CRITICAL - Socket timeout
nagios-03-22-2017-00.log:[1490123852] HOST ALERT: QX1;UP;SOFT;2;HTTP WARNING: HTTP/1.1 404 Not Found - 2100 bytes in 0.012 second response time
nagios-03-27-2017-00.log:[1490483233] HOST ALERT: QX1;DOWN;SOFT;1;HTTP CRITICAL: HTTP/1.0 503 Service Unavailable - 313 bytes in 0.064 second response time
nagios-03-27-2017-00.log:[1490483543] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490483842] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490484141] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490484440] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490487441] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.019 second response time
In my nagios core installation , recently i found that the retry-interval seems not working ,eg ,for server 'QX1' , i intended to set it as 1 min ,but actually in the log ,i see its 5 min between each check ,i check google and also this forum ,but haven't found why ,can you help to check,thanks .
real server 'QX1' ,use template 'pi-server'
template 'pi-server' ,use template 'generic-host'
check_interval 10
retry_interval 1
max_check_attempts 5
template 'generic-host'
retry_interval 3
max_check_attempts 3
From the following log ,i see the retry-interval is 5 min , not the 1 min as wanted .
nagios-03-06-2017-00.log:[1488668959] HOST ALERT: QX1;DOWN;SOFT;1;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488669262] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488669562] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488669863] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488670162] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-06-2017-00.log:[1488670464] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.060 second response time
nagios-03-09-2017-00.log:[1488983853] HOST ALERT: QX1;DOWN;SOFT;1;HTTP CRITICAL: HTTP/1.0 503 Service Unavailable - 313 bytes in 0.065 second response time
nagios-03-09-2017-00.log:[1488984160] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-09-2017-00.log:[1488984521] HOST ALERT: QX1;UP;SOFT;3;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.046 second response time
nagios-03-13-2017-00.log:[1489273503] HOST ALERT: QX1;DOWN;SOFT;1;HTTP CRITICAL: HTTP/1.0 503 Service Unavailable - 313 bytes in 0.066 second response time
nagios-03-13-2017-00.log:[1489273806] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489274106] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489274406] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489274706] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-13-2017-00.log:[1489275307] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.024 second response time
nagios-03-20-2017-00.log:[1489878495] HOST ALERT: QX1;DOWN;SOFT;1;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489878803] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489879102] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489879402] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489879703] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-20-2017-00.log:[1489880306] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.024 second response time
nagios-03-22-2017-00.log:[1490123480] HOST ALERT: QX1;DOWN;SOFT;1;CRITICAL - Socket timeout
nagios-03-22-2017-00.log:[1490123852] HOST ALERT: QX1;UP;SOFT;2;HTTP WARNING: HTTP/1.1 404 Not Found - 2100 bytes in 0.012 second response time
nagios-03-27-2017-00.log:[1490483233] HOST ALERT: QX1;DOWN;SOFT;1;HTTP CRITICAL: HTTP/1.0 503 Service Unavailable - 313 bytes in 0.064 second response time
nagios-03-27-2017-00.log:[1490483543] HOST ALERT: QX1;DOWN;SOFT;2;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490483842] HOST ALERT: QX1;DOWN;SOFT;3;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490484141] HOST ALERT: QX1;DOWN;SOFT;4;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490484440] HOST ALERT: QX1;DOWN;HARD;5;connect to address qx1.qx1.com and port 58201: Connection refused
nagios-03-27-2017-00.log:[1490487441] HOST ALERT: QX1;UP;HARD;5;HTTP WARNING: HTTP/1.1 404 Not Found - 2122 bytes in 0.019 second response time