On 12.01.2013 12:05, Guus Leeuw jr wrote:
> Hi,
>
> 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.

https://dev.icinga.org/issues/2291

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@icinga etc]# find . -type f | xargs grep "\$@itpassion.com"
> [root@icinga etc]#
> To me that means that that email address is not defined anywhere in the
> config.
>
> I am therefore at a loss as to why Icinga would send emails to
> $@itpassion.com.
>
> Has anybody seen this before or has anybody an idea where I might start
> looking for a solution to this problem?
>
> Regards,
> Guus
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122912
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

mail:     michael.friedr...@gmail.com
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmi...@jabber.ccc.de
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to