Issue with the notification_interval parameter


#1

Hi!

Firstly, sorry if this has already been asked, but I didn’t find any anything related.

So, my issue:
Let’s say we have a test scheduled at 10:00
The normal_check_interval is set at 10min, and the max_check_attempts is at 1.
So the tests will be scheduled at 10:00, 10:10, 10:20 …

My problem is that if my first test encounters a problem, it will take a long time to timeout (the timeout option is set high on purpose). So the result will happen, for example, 2min later.
=> we have a notification at 10:02
The next scheduled test is at 10:10; this one works fine but because the previous test was in timeout, it results in a non-OK state (critical) and more importantly: it carries the info we need… but because this test is right on time, the results comes up at 10:10, which is only 8min later than the previous notification
=> this means that nagios won’t send the notification we need, because the notification_interval is set to 10min!:?:
note: and of course, the problem is that we can’t set the notification_interval to less than the normal_check_interval …

So, currently, we have no idea on how to solve this problem: we’ve tried to think of ways of doing our test differently, but we always end up with this form. Moreover: the issue may happen on any other test …
If any of you has any idea or could report this “issue”, I will be glad :slight_smile:
thanks in advance