Am 02.06.2015 um 07:26 schrieb Tejas Gadaria:
Hi,

I am trying to configure mail notification. i am getting below error in mail,

[2015-06-01 08:00:06 -0500] information/Checkable: Checking for configured 
notifications for object 
'jiva57beta.zeomega.org<http://jiva57beta.zeomega.org>!load'
[2015-06-01 08:00:06 -0500] information/Notification: Sending notification 
'server2008R2!load!Tejas' for user 'icingaadmin'
[2015-06-01 08:00:06 -0500] warning/MacroProcessor: Macro 
'refond.g...@gmail.com<mailto:refond.g...@gmail.com>' is not defined.
Context:
   (0) Resolving macros for string 
'$refond.g...@gmail.com<mailto:refond.g...@gmail.com>$'

[2015-06-01 08:00:06 -0500] information/Notification: Completed sending 
notification 'server2008R2!load!Tejas' for checkable 'server2008R2!load'
[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.
Usage: mail -eiIUdEFntBDNHRV~ -T FILE -u USER -h hops -r address -s SUBJECT -a 
FILE -q FILE -f FILE -A ACCOUNT -b USERS -c USERS -S OPTION users


Do i need to configure SMTP relay for icinga?
I am using icinga2 with icinga web2.

Always include the following in requests:

* icinga2 --version
* configuration snippets matching the problem - in your case, host, service, 
notification, notificationcommand, user object
* logs (seen that already)

More on that here: 
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/troubleshooting#troubleshooting

Kind regards,
Michael


-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de

** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to