Page 1 of 1

Addon email addresses not working

Posted: Wed Jul 01, 2015 8:35 am
by almonitoradmin
Hello,

I have a user in Nagios XI (version Nagios XI 2014R1.0). I have a user/contact named "foo". I configured an email address for foo of "[email protected]". I configured an "Addon Address 1" of "[email protected]".

Emails are sent and received to [email protected], but nagios is not sending anything to [email protected]. Nothing in the nagios mailserver logs.

Any idea where I can begin to troubleshoot this?

- Jamie

Re: Addon email addresses not working

Posted: Wed Jul 01, 2015 10:16 am
by abrist
Addon email addresses are not currently utilized by any of the provided notification handler scripts. You would have to write your own handler to make use of the additional email address macros.

Re: Addon email addresses not working

Posted: Wed Jul 01, 2015 10:34 am
by lmiltchev
For more info, check out the Nagios Core documentation here:

http://nagios.sourceforge.net/docs/nagi ... ml#contact
addressx: Address directives are used to define additional "addresses" for the contact. These addresses can be anything - cell phone numbers, instant messaging addresses, etc. Depending on how you configure your notification commands, they can be used to send out an alert to the contact. Up to six addresses can be defined using these directives (address1 through address6). The $CONTACTADDRESSx$ macro will contain this value.

Re: Addon email addresses not working

Posted: Thu Jul 02, 2015 8:51 am
by almonitoradmin
Ah thanks! I misunderstood what that setting meant.

Re: Addon email addresses not working

Posted: Thu Jul 02, 2015 8:57 am
by lmiltchev
Let us know if it is safe to lock this topic. Thanks!