Troubleshooting
A Nagios service stays in a CRITICAL hard state for several hours, and the on-call contact is re-notified every 30 minutes. The team wants only one notification for the problem, plus the recovery notice. Which service directive should be set?
Show the answer
Correct answerA. notification_interval 0
A notification_interval of 0 tells Nagios to send a single notification for a problem and not renotify while it persists. max_check_attempts 1 is tempting but only makes the service reach a hard state after one failed check, which does not stop repeat notifications.