Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-13 Thread alex alex
Hi again. I have bad news(for me,at least). I remove the flap announcements and notifications are not working. Here's the debug log for nagios: [1231835680.728809] [032.2] [pid=14526] ** Checking host notification viability for contact 'user'... [1231835680.728838] [032.2] [pid=14526] We

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-13 Thread Joerg Linge
alex alex schrieb: Hi again. I have bad news(for me,at least). I remove the flap announcements and notifications are not working. Here's the debug log for nagios: [1231835680.728809] [032.2] [pid=14526] ** Checking host notification viability for contact 'user'... [1231835680.728838]

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-13 Thread alex alex
Ok, my mistake. I can clearly see that I put all options in notification template, including n from none so none of the notifications were sent. Stupid me! Thanks all, Alex On Tue, Jan 13, 2009 at 10:47 AM, alex alex fdm.a...@gmail.com wrote: Hi again. I have bad news(for me,at least). I

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-12 Thread alex alex
Hi again, Yes, there is another template named generic-contact but it's identical to the generic (excepting the name). But here's a good news: I have some notifications (finnaly, it seems that the notification works). And the bad news is that I get only emails like: Return-Path:

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-12 Thread Marc Powell
On Jan 12, 2009, at 5:44 AM, alex alex wrote: Notification: FLAPPINGSTOP Host: host1 State: UP Or for a service Notification Type: FLAPPINGSTOP Service: is_alive Host: host1 Is it the right behaviour (to put flapping instead up/down if the flapping is enabled) ? Yes, if the host or

[Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread alex alex
Hi all, I have nagios 3.0.5 installed and it seems that it is working ok but no notifications are sent. Instead, in /home/nagios/dead.letter the messages keep arriving. The problem seems to be due to mail headers : From nagios Fri Jan 9 09:38:31 2009 Return-Path: nagios Received: (from

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread Marc Powell
On Jan 9, 2009, at 4:52 AM, alex alex wrote: Subject: ** Service Alert: ITM_M._Ciuc/is_alive is OK ** This is a service alert. Somehow it seems that no user address is found (or the address $ is used ). Also, the mail log says the same thing: define contact { [snip]

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread alex alex
ok, I get the service and not the host email from dead.letter. My mistake. Here's the host one: From nagios Fri Jan 9 16:12:31 2009 Return-Path: nagios Received: (from nag...@localhost) by localhost.localdomain (8.14.1/8.14.1/Submit) id n09ECVcx011087 for $; Fri, 9 Jan 2009

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread Marc Powell
On Jan 9, 2009, at 8:42 AM, alex alex wrote: I will try to see the error in command. I already use a modified command define command { command_namenotify-host-by-email command_line /usr/bin/printf %b Host: $HOSTNAME$\n

Re: [Nagios-users] nagios 3.0.5 email notifications fail

2009-01-09 Thread alex alex
Hi again, I've just disabled events handler. I think youwere right. The dead emails were from events handler, not from notifications. No new notifications failed in letter.dead It seems that in event handler, the $CONTACTEMAIL$ is not set. But now, even stranger, no notification is sent. I mean I

Re: [Nagios-users] nagios 3.0.5 email notifications fail {Spam?}

2009-01-09 Thread Marc Powell
On Jan 9, 2009, at 11:26 AM, alex alex wrote: Hi again, I've just disabled events handler. I think youwere right. The dead emails were from events handler, not from notifications. No new notifications failed in letter.dead It seems that in event handler, the $CONTACTEMAIL$ is not set.