Troubleshooting
A Nagios service definition for a web check notifies the on-call contact on every state change, including WARNING. The team wants notifications only for CRITICAL states and for recoveries. Which directive should be set in the service definition?
Show the answer
Correct answerC. notification_options c,r
notification_options c,r limits notifications to CRITICAL states and recoveries. The w,r value is tempting, but it notifies on WARNING and never on CRITICAL; c,u omits recovery notices and adds UNKNOWN.