Hi,Experts,
As you know nagios alarm emails send one by one, how to add the all alarm receivers in the alarm CC list.( display all receivers in the one email.)
Thanks.
How to display all alarm receivers in the alarm email.
How to display all alarm receivers in the alarm email.
A new nagios user
Re: How to display all alarm receivers in the alarm email.
The only way I know of accomplishing this is to have all of their email addresses in a single contact definition, that is unless you wrote your own handler to do some magic.
Re: How to display all alarm receivers in the alarm email.
Thanks. but base email groups,seems can't set like this. I want to some groups in CC list of email. email define is not good way, due to receiver always changes.
A new nagios user
Re: How to display all alarm receivers in the alarm email.
You may want to investigate the various macros that ara available to the notification plugins, specifically $CONTACTNAME$ and $CONTACTGROUPMEMBERS$. Note that if you are transmitting to a mailling list there is no way for Nagios to know who is subscribed to that list unless one writes another plugin to find that and stash it someplace that your notification plugin can get too it.
Re: How to display all alarm receivers in the alarm email.
Thanks crfriend,
I tried these 2 micro, but nagios can't send emails to this members, due to only display in the memeber's name not email address. so the email can't send out.
but you let me find another way, put this 2 micro in the email content, then we can know who received this email. it is good way too.
Thanks.
I tried these 2 micro, but nagios can't send emails to this members, due to only display in the memeber's name not email address. so the email can't send out.
but you let me find another way, put this 2 micro in the email content, then we can know who received this email. it is good way too.
Thanks.
A new nagios user