Assuming that the
interval_length directive is set to 60 by the default:
$ grep interval_length /usr/local/nagios/etc/nagios.cfg
# This value works of the interval_length you specify later. If you leave
# actual seconds rather than a multiple of the interval_length variable.
For the special services, you need to define a different template for it in
Pay attention to the:
normal_check_interval: this service is check every 20 minutes under
retry_check_interval: the number of minutes to wait before scheduling a re-check when service has changed to non-OK state. Notice that if the service has been retried
max_attempts time without a change in its status, it will revert to being scheduled at
and use this template for your service:
You may also need to define a service escalation to change the
notification_interval based on the service state, something like this:
It means that this service escalation is used when service is in WARNING, UNKNOWN, or CRITICAL state. And you now have a new notification intervals: 10 minutes.