Acknowledgements with hard coded email address

Jim Avery jim at jimavery.me.uk
Sat Mar 12 11:05:09 CET 2011


On 9 March 2011 18:05, Robert Bailey <robert at briworks.com> wrote:
> I want to set Nagios so that no when you acknowledge either a host or service problem with the "Notify" checkbox checked, the email goes to a specific email address. Anyone know if this is possible? I've dug through the code a little bit, but I'm not a programmer and I can't find any available configuration options.
>
> Robert


Robert, I think you can configure a contact with the specific email
address, make it a contact (or member of the relevant contactgroup)
for the host or service, but most importantly in the contact
definition, have:

  host_notification_options n
or
  service_notification_options n

then the contact will still receive Acknowledgement notifications but
nothing else for that service or host.  Certainly this is what happens
if you specify "n" in the notification_options directive for a service
so I expect it's the same when you specify "n" in the contact
definition.  Give it a try anyway.

This is contrary to the documentation, so I wouldn't be too surprised
if it's 'fixed' in a future release, but if that's the case, I would
hope a "a" argument will be added to allow you to specify you want ack
notifications.  For the time being, give this a try.

hth,

Jim

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
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