With active checks, regular service windows can easily be handled using time periods and check intervals. How do you handle this for passive checks?
Asked
Active
Viewed 354 times
1 Answers
1
You can set an interval in which the passive check changes state if the server has not received any passive checks in that time interval. This is known as freshness in Nagios 3.0 terminology.
Nagios check freshness documentation
When the freshness interval expires w/o a passive check, naigos runs the "active" check for the service. You can set this to something like
check_command check_dummy_fail!"No passive service notifications"
and you will be alerted just as if the passive check had failed. The tricky part is figuring out exactly what this interval should be.
![](../../users/profiles/195583.webp)
Fred the Magic Wonder Dog
- 2,035
- 10
- 17
-
Great. And that active check_command respects the regular timeperiods again :) – user1737246 Apr 20 '15 at 11:57