Page 1 of 1

NagiosXI: Send one email email to all contact

Posted: Thu Oct 16, 2014 7:52 am
by questrad
Hello

For example I have defined:

Contacts:
Contact1, Contact2 and Contact3

Contact_Group:
Contact_Group1 = Contact1, Contact2 and Contact3

So, now I want send only one email when it triggered in host or service which will include in "To:" field all Contacts or to all contact in Contact_Group that is assigned to host/service check.

Now it sent separate emails to each Contacts in contact list or in Contact_Group

It is possible to do?

Re: NagiosXI: Send one email email to all contact

Posted: Thu Oct 16, 2014 9:08 am
by lmiltchev
Nagios will send an email to each member of the contactgroup, but it won't show all of the contacts, that this email was sent to in the "To:" field. You can probably achieve this by using distribution lists.

Re: NagiosXI: Send one email email to all contact

Posted: Thu Oct 16, 2014 9:18 am
by questrad
We using it now, but it will be nice to have it.
If I sent to two different distribution list, will be nice that each distribution contact can see who get that email as well

Re: NagiosXI: Send one email email to all contact

Posted: Thu Oct 16, 2014 9:24 am
by lmiltchev
Unfortunately, this functionality is not available at this time. You are welcome to post a feature request on our public bug tracker here:

http://tracker.nagios.com

or we can post one for you internally (if you want us to).

Re: NagiosXI: Send one email email to all contact

Posted: Thu Oct 16, 2014 10:21 am
by questrad
Of course you can if it not difficult for you

THANK YOU VERY MUCH

Re: NagiosXI: Send one email email to all contact

Posted: Thu Oct 16, 2014 10:46 am
by lmiltchev
I posted an internal feature request (TASK ID 4156) as requested. Just want to point out that there is no guarantee that this functionality will be implemeted soon (if ever). It all depends on the level of interest shown from other users, and the length of our developers' TODO list.

Re: NagiosXI: Send one email email to all contact

Posted: Tue Oct 28, 2014 10:08 am
by scottwilkerson
The list of emails will never be possible as the handlers can change them, but you can add the following to your handlers to get a list of nagios contacts that are getting the notification

Code: Select all

--notificationrecipients="$NOTIFICATIONRECIPIENTS$"
and then add the following to your messages to get a list of recipients
%notificationrecipients%