[Nagios-users] Nagios and email

2009-03-23 Thread Peter Doherty
Hello, I have a kind of custom nagios setup, so maybe this is a byproduct of that... I had to reboot my nagios server today, and it didn't come right back up. By the time it did, it realized that the service checks weren't fresh, and started sending out lots of notifications. I stopped

Re: [Nagios-users] Nagios and email

2009-03-23 Thread Charlie Reddington
You have checked your /var/spool/mqueue and /var/spool/clientmqueue right? I have had a few million emails queued up there before. Charlie On Mar 23, 2009, at 9:22 PM, Peter Doherty wrote: Hello, I have a kind of custom nagios setup, so maybe this is a byproduct of that... I had to

Re: [Nagios-users] Nagios and email

2009-03-23 Thread Marc Powell
On Mar 23, 2009, at 9:22 PM, Peter Doherty wrote: Has nagios passed all the emails over to sendmail, and I just need to clear out sendmail's queue, or is nagios holding onto them while sendmail isn't running, and then once it sees sendmail running, it starts dumping email into the queue?

Re: [Nagios-users] Nagios and email

2009-03-23 Thread Kevin Keane
It's probably Nagios. Does the blizzard of emails stop when you stop the Nagios service? How about stopping the Nagios server, turning off all notifications in the configuration files, and then restarting it? Peter Doherty wrote: Hello, I have a kind of custom nagios setup, so maybe this is

Re: [Nagios-users] Nagios and email

2009-03-23 Thread Peter Doherty
On Mar 23, 2009, at 10:52 PM, Charlie Reddington wrote: You have checked your /var/spool/mqueue and /var/spool/clientmqueue right? I have had a few million emails queued up there before. They were in /var/spool/clientmqueue. Thanks Charlie!

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.

Re: [Nagios-users] Nagios v3 email being sent to $

2008-06-23 Thread ROBERT SMALL
I was working on this again, and I enabled all notifications for the hosts/services that we had disabled, and the emails to $ stopped. As soon as I disabled the notifications again, the emails to $ started. Any idea? On 6/16/08 10:14 AM, ROBERT SMALL [EMAIL PROTECTED] wrote: As a new note, I

Re: [Nagios-users] Nagios v3 email being sent to $

2008-06-23 Thread Anthony Montibello
If you still cannot find an error. The symptpoms Sounds like this should be posted to NAgios Developer list. TOny On Mon, Jun 23, 2008 at 8:03 PM, ROBERT SMALL [EMAIL PROTECTED] wrote: I was working on this again, and I enabled all notifications for the hosts/services that we had disabled,

Re: [Nagios-users] Nagios v3 email being sent to $

2008-06-16 Thread ROBERT SMALL
As a new note, I nuked the /var/spool/nagios/dead.letter this morning, and just looked at it again. The vast majority of emails there (all of 'em addressed to $) are for hosts/services that we have notifications disabled. Robert On 6/14/08 9:35 AM, ROBERT SMALL [EMAIL PROTECTED] wrote: No,

Re: [Nagios-users] Nagios v3 email being sent to $

2008-06-14 Thread ROBERT SMALL
No, nothing strange, I sent my contacts to some of the other admins at the office and they all said they were fine. This is happing on both of my nagios boxes... On 6/13/08 3:49 PM, Marc Powell [EMAIL PROTECTED] wrote: On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote: Other than changing

[Nagios-users] Nagios v3 email being sent to $

2008-06-13 Thread ROBERT SMALL
I have lots of messages in my nagios installation being sent to $. I have searched my contacts and other configs and cannot find it. We all get email and notifications but there are the occasional $ emails and I found Œem stuck in /var/spool/nagios/dead.letter (freebsd). Does anyone have any

Re: [Nagios-users] Nagios v3 email being sent to $

2008-06-13 Thread Patrick Morris
On Fri, 13 Jun 2008, ROBERT SMALL wrote: I have lots of messages in my nagios installation being sent to $. I have searched my contacts and other configs and cannot find it. We all get email and notifications but there are the occasional $ emails and I found ?em stuck in

Re: [Nagios-users] Nagios v3 email being sent to $

2008-06-13 Thread Chris Waters
:[EMAIL PROTECTED] On Behalf Of ROBERT SMALL Sent: Friday, June 13, 2008 10:44 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios v3 email being sent to $ I have lots of messages in my nagios installation being sent to $. I have searched my contacts and other configs and cannot find

Re: [Nagios-users] Nagios v3 email being sent to $

2008-06-13 Thread Marc Powell
On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote: Other than changing the “* Nagios * to * Nagios 1 * I haven’t made any changes to the notifications, in fact, I copied and pasted it out of the samples to make sure. Thanks!!! # 'notify-host-by-email' command definition

Re: [Nagios-users] nagios generated email.

2006-09-05 Thread Hari Sekhon
Morris, Patrick wrote: Where do i configure the FROM address for nagios's outbound emails? It will go out from the user Nagios runs as. The rest is handled by your mailer. I've found that my emails show the name field as being the comment of the nagios user, so I just

Re: [Nagios-users] nagios generated email.

2006-09-05 Thread rob . moss
| | | | Subject| | [Nagios-users] nagios generated email

Re: [Nagios-users] nagios generated email.

2006-09-05 Thread Hari Sekhon
[EMAIL PROTECTED] wrote: Sorry about top posting, but i'm using Notes and it sucks Nagios just uses /bin/mailx which also relies on local sendmail/qmail/whatever to be configured properly.. I built my own perl emailer to connect directly to a configured mail server, use a configured FROM

[Nagios-users] nagios generated email.

2006-09-04 Thread Robin-David Hammond%KB3IEN
Where do i configure the FROM address for nagios's outbound emails? bash-3.1# cat qfk8436oNG006748 V8 T1157339509 K1157393302 N31 P2730634 I4/0/122148 MDeferred: Connection timed out with mail.tmail.com. Fwbs $_localhost [IPv6:::1] $rESMTP $sgw-jfk-0-0.kb3ien ${daemon_flags}OO S[EMAIL

Re: [Nagios-users] nagios generated email.

2006-09-04 Thread Morris, Patrick
Where do i configure the FROM address for nagios's outbound emails? It will go out from the user Nagios runs as. The rest is handled by your mailer. - Using Tomcat but need to do more? Need to support web services,

Re: [Nagios-users] nagios generated email.

2006-09-04 Thread Robin-David Hammond%KB3IEN
], nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios generated email. Where do i configure the FROM address for nagios's outbound emails? It will go out from the user Nagios runs as. The rest is handled by your mailer

Re: [Nagios-users] nagios generated email.

2006-09-04 Thread Morris, Patrick
PROTECTED], nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nagios generated email. Where do i configure the FROM address for nagios's outbound emails? It will go out from the user Nagios runs as. The rest is handled by your mailer. From your notification command