Nagios xi - Check Settings of service understanding

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
DerekNagiosxi
Posts: 14
Joined: Thu Apr 29, 2021 1:08 pm

Nagios xi - Check Settings of service understanding

Post by DerekNagiosxi »

Hello,

I have a service I am monitoring. Under check settings, I have the following values below
Check interval - 5 min
Retry interval - 1 min
Max check attempts - 5

Just want to make sure I understand, Lets say the service is down, after the 5 minute check, it goes into retry for another 5 minutes and then sends the alert totaling 10 minutes?

Or if the service is down, after 5 minutes, retry again in a minute, gives it another 5 minutes for 5 attempts making this total 25 minutes?


I have a request to change the monitoring to every 60 minutes and need clarification on the check settings. Thank you for your time.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios xi - Check Settings of service understanding

Post by ssax »

Check interval - 5 min
Retry interval - 1 min
Max check attempts - 5

Nagios xi will check every 5 minutes (check_interval), if a problem is detected it will recheck it every 1 minute (retry_interval) 5 times (max_check_attempts) before it reaches a HARD state where a notification will be sent.

So once it detects a problem it will be retry_interval times max_check_attempts before the notification will be sent. So in this case 5 minutes after the problem is detected.

So based on what you're trying to do you would set the check_interval to 60. That way it only checks every 60 minutes. But if a problem is detected it would be retry_interval times max_check_attempts before the notification will be sent (so 5 minutes lateer in this case).

Please see here for details:

https://assets.nagios.com/downloads/nag ... uling.html
https://assets.nagios.com/downloads/nag ... tions.html

Let us know if you have any questions.
DerekNagiosxi
Posts: 14
Joined: Thu Apr 29, 2021 1:08 pm

Re: Nagios xi - Check Settings of service understanding

Post by DerekNagiosxi »

ssax wrote:Check interval - 5 min
Retry interval - 1 min
Max check attempts - 5

Nagios xi will check every 5 minutes (check_interval), if a problem is detected it will recheck it every 1 minute (retry_interval) 5 times (max_check_attempts) before it reaches a HARD state where a notification will be sent.

So once it detects a problem it will be retry_interval times max_check_attempts before the notification will be sent. So in this case 5 minutes after the problem is detected.

So based on what you're trying to do you would set the check_interval to 60. That way it only checks every 60 minutes. But if a problem is detected it would be retry_interval times max_check_attempts before the notification will be sent (so 5 minutes lateer in this case).

Please see here for details:

https://assets.nagios.com/downloads/nag ... uling.html
https://assets.nagios.com/downloads/nag ... tions.html

Let us know if you have any questions.

Thank you!
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: Nagios xi - Check Settings of service understanding

Post by vtrac »

Locking thread ... :-)