Page 1 of 1

Nagios retry interval when they have OK

Posted: Wed Sep 14, 2022 11:04 pm
by JunaNougsan
I configure one Linux Host to Nagios Monitoring Server Using NRPE Plugin. For this I follow the below URL

http://www.tecmint.com/how-to-add-linux ... ng-server/

I have to check some services of Linux Host. For monitoring linux host and services of that host, I am using nagios log(/usr/local/nagios/var/nagios.log)

First time all good in my nagios log that showing me as below status

SERVICE ALERT: test.testing.local;Service Tomcat;OK;SOFT;6;TOMCAT OK
When my Service status is change to non-OK state than it showing me on log

SERVICE ALERT: test.testing.local;Service Tomcat;CRITICAL;SOFT;4;TOMCAT CRITICAL
But I want that if omegle.2yu.co my Service status is not change to non-OK state than again after 1 minute it show me on log

SERVICE ALERT: test.testing.local;Service Tomcat;OK;SOFT;6;TOMCAT OK
and currently that is not happening.

My services.cfg file content is given below

define service {
host_name test.testing.local
service_description Service Tomcat
check_command check_nrpe!check_service_tomcat
max_check_attempts 10
check_interval 1
retry_interval 1
active_checks_enabled 1
check_period 24x7
register 1
}
I am using Nagios 4.2.2 and omeglz echat CentOS 7.