Getting recovery emails ONLY
Posted: Wed Dec 17, 2014 3:00 pm
I have a service check that looks for a file at all times of the day. The user being notified only wants alerts to be sent when the file appears in the directory. I do NOT want any critical or warning notifications to be sent. I only want the OK (recovery) emails to be sent.
I tried unchecking all the Notification options except for "r" (recovery) but it will not send any emails unless I also check "c" (critical). Is there a way to make it ONLY send recovery emails?
To make it more clear, here is the exact process of what should happen:
Nagios checks for file, none found (critical), NO alert
Nagios checks for file, file is found (recovered), send OK alert
User sees OK alert and processes file, emptying the directory
Nagios checks for file, none found (critical), NO alert
repeat
Thank you
I tried unchecking all the Notification options except for "r" (recovery) but it will not send any emails unless I also check "c" (critical). Is there a way to make it ONLY send recovery emails?
To make it more clear, here is the exact process of what should happen:
Nagios checks for file, none found (critical), NO alert
Nagios checks for file, file is found (recovered), send OK alert
User sees OK alert and processes file, emptying the directory
Nagios checks for file, none found (critical), NO alert
repeat
Thank you