[icinga-users] Icinga sends email to $@itpassion.com
michael.friedrich at gmail.com
Sat Jan 12 22:22:13 CET 2013
On 12.01.2013 12:05, Guus Leeuw jr wrote:
> I'm running icinga 1.6.1 on my production host, monitoring just 12 servers
> and 95 services. I am using NagioSQL version 3.2.0 to manage the Icinga
> configuration. I have one icinga instance.
> The postqueue on the icinga server is ever increasing with emails that
> icinga is trying to sent to $@itpassion.com.
you are using a macro in the wrong place, which does not get resolved by
the core, but left as string. your shell interpreter then puts $foo$ as
$foo (empty value) and $ (stays) which results in your output.
this has been fixed in 1.8.x where all unknown macros are not left in
the command output, but removed as well as warned about that in syslog.
in order to track down your faulty macro, either look in your command
configuration, or as well enable debug levels for macros and commands,
and trace it in debug logs too.
it's an oldgrown nasty bug, if you run into problems, there's a config
option to revert to the old behaviour. though, you are required to
upgrade to 1.8.x - or you'll fix your config instead.
can you post your notification command plus where it's used?
> Looking in /usr/local/icinga/etc for files that contain that email address,
> I get:
> [root at icinga etc]# find . -type f | xargs grep "\$@itpassion.com"
> [root at icinga etc]#
> To me that means that that email address is not defined anywhere in the
> I am therefore at a loss as to why Icinga would send emails to
> Has anybody seen this before or has anybody an idea where I might start
> looking for a solution to this problem?
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
DI (FH) Michael Friedrich
mail: michael.friedrich at gmail.com
jabber: dnsmichi at jabber.ccc.de
irc: irc.freenode.net/icinga dnsmichi
icinga open source monitoring
position: lead core developer
More information about the icinga-users