Hi Tejas,

please show us your icingaadmin user object, especially the part where you 
defined the email address.

Icinga2 is telling you that it isn't able to send the mail, which is why you 
don't receive any:
[2015-06-01 08:00:06 -0500] warning/PluginNotificationTask: Notification 
command for object 'server2008R2!load' (PID: 9784, arguments: 
'/etc/icinga2/scripts/mail-service-notification.sh') terminated with exit code 
2, output: Send options without primary recipient specified.

Regards,
Markus

-----Original message-----
From: Tejas Gadaria <refond.g...@gmail.com>
Sent: Wednesday 3rd June 2015 9:10
To: Icinga User's Corner <icinga-users@lists.icinga.org>
Subject: Re: [icinga-users] mail notification not sent

Hi Markus and Daniel,

It was not enclosed in "$" sign, I don't understand why it showed up with "$" 
sign in log.
Also as newbie I am not aware on how to configure email notification for 
clients. I can post the snippet you want to analyze.

I have setup smtp relay, but i am not getting any notification mail from 
icinga. 

Regards,
Tejas

On Wed, Jun 3, 2015 at 12:24 PM, Daniel Parthey <p...@posteo.de 
<mailto:p...@posteo.de> > wrote:
If you write down the resulting email  address, you might need to remove the 
dollar signs around your email address.

$MACRO_VARIABLE$ triggers a macro expansion, but your email address is not a 
variable, it is a fixed string.

Regards
Daniel
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org <mailto:icinga-users@lists.icinga.org> 
https://lists.icinga.org/mailman/listinfo/icinga-users


_______________________________________________

icinga-users mailing list

icinga-users@lists.icinga.org

https://lists.icinga.org/mailman/listinfo/icinga-users



_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to