Recovery Notification
Marc Powell
marc at ena.com
Fri Jul 16 21:57:45 CEST 2004
> -----Original Message-----
> From: Matt Millard [mailto:jjnp4m102 at sneakemail.com]
> Sent: Friday, July 16, 2004 2:23 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Recovery Notification
>
> I'd like to have a separate command ran when a service or host goes
into a
> recovery state. I've tried placing two different contacts in a
contact
> group. One contact to notify for everything but recovery and one to
> notify for only recovery. nagios -v nagios.cfg claims that this
doesn't
> make sense to only specify r for notification. It is only a warning
> though. Here are the nagios.log entries for a Nagios restart, cron
> failure/recovery event.
Another path you could take is to add the intelligence you need to your
notification script. Right now the notification script is probably
/bin/mail (host/service-notify-by-email) but you are certainly free to
change that and write something that is as simple or as complicated as
you need it to be.
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list