Michael,

Having left debugging on for the day, I can confirm that $CONTACTEMAIL$
seems to be a problem for some services:

[1358064635.395239] [256.1] [pid=971] Running command '/usr/bin/printf "%b"
"***** Icinga *****\n\nNotification Type: \n\nService: Check Apponotec
Windows Updates\nHost: Apponotec FIA-CORE1\nAddress: 82.153.129.66\nState:
UNKNOWN\n\nDate/Time: Sun Jan 13 08:10:35 GMT 2013\n\nAdditional
Info:\n\nCHECK_NRPE: Received 0 bytes from daemon.  Check the remote server
logs for error messages.\n" | /bin/mail -s "**  Service Alert: Apponotec
FIA-CORE1/Check Apponotec Windows Updates is UNKNOWN **" $CONTACTEMAIL$'...

[1358069785.248270] [256.1] [pid=971] Running command '/usr/bin/printf "%b"
"***** Icinga *****\n\nNotification Type: \n\nService: Available
Packages\nHost: SMTP Server\nAddress: 173.203.206.161\nState:
UNKNOWN\n\nDate/Time: Sun Jan 13 09:36:25 GMT 2013\n\nAdditional
Info:\n\n(Service Check Timed Out)\n" | /bin/mail -s "**  Service Alert:
SMTP Server/Available Packages is UNKNOWN **" $CONTACTEMAIL$'...

[1358083595.801647] [256.1] [pid=971] Running command '/usr/bin/printf "%b"
"***** Icinga *****\n\nNotification Type: \n\nService: shop.itpassion.com
Site Response\nHost: ITP Apache Server in the UK\nAddress:
10.177.67.243\nState: WARNING\n\nDate/Time: Sun Jan 13 13:26:35 GMT
2013\n\nAdditional Info:\n\nHTTP WARNING: HTTP/1.1 200 OK - 18982 bytes in
2.467 second response time\n" | /bin/mail -s "**  Service Alert: ITP Apache
Server in the UK/shop.itpassion.com Site Response is WARNING **"
$CONTACTEMAIL$'...

So, I'll go through them and make sure that there is a contact email
available for Icinga in the command / service / generic service definitions.

Would I need to have these services against a person or is a contact group
good enough for Icinga 1.6.1 to figure out $CONTACTEMAIL$?

Regards,
Guus

> -----Original Message-----
> From: Michael Friedrich [mailto:michael.friedr...@gmail.com]
> Sent: 13 January 2013 11:17
> To: icinga-users@lists.sourceforge.net
> Subject: Re: [icinga-users] Icinga sends email to $@itpassion.com
> 
> On 13.01.2013 08:08, Guus Leeuw jr wrote:
> > [...]
> >
> > I cannot see a problem with the usage of the notification commands,
> > really, as the email addresses all seem to be valid...
> 
> Then trace the notification command on the debug log with commands and
> macros enable in debug_level, concurring with the timestamp of your faulty
> mail being sent.
> 
> https://wiki.icinga.org/display/Dev/Icinga+Core+Debug+Config#IcingaCoreD
> ebugConfig-DebugLevel
> likely 2305 is what you need, but I'll leave that up to you.
> 
> It might be an empty $CONTACTEMAIL$ macro somewhere, and then your
> MTA just adds the missing domain to the user (@itpassion.com) itsself.
> What's the output of your MTA anyways when sending such a mail? Which
> type of MTA is used, how does it it treat local aliases?
> 
> >
> > Fixed in 1.8.1, you say?
> 
> More of a behavioural change, in what I believe, that a macro was
> wrongly used within a command. Your description led to this assumption,
> but still, without debug logs I cannot confirm that one for sure.
> 
> kind regards,
> Michael
> 
> 
> 
> > Maybe it's time to upgrade... I'll put that on the
> > calendar anyhow, but it would be good to confirm that my case indeed is
> > covered by the fix.
> >
> > Best 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. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_123012
> > _______________________________________________
> > 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. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_123012
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


------------------------------------------------------------------------------
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. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to