cleaning out nagios pending messages to be sent

Marc Powell marc at ena.com
Thu Jul 28 19:14:30 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Marc Powell
> Sent: Thursday, July 28, 2005 12:01 PM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] cleaning out nagios pending messages to be
> sent
> 
> 
> 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > admin at lists.sourceforge.net] On Behalf Of Jim B
> > Sent: Thursday, July 28, 2005 11:05 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] cleaning out nagios pending messages to
be
> > sent
> >
> > I have looked in the mail ques for postfix and sendmail; I do not
exim
> > installed, although I am not sure which mta nagios is using but I
keep
> > getting old messages (send to me via email). Before the messages go
to
> the
> > mailques where are they in nagios so I can delete them?
> 
> They aren't held by nagios at all. They're sent to your local MTA in
> real time using your designated host/service notify-by-email command.
If
> your mta doesn't respond they're just dropped. The only possible
> exception is if your designated host/service notify-by-email commands
> are still running for those old messages. Use ps to check. This is
> _extremely_ unlikely and they're almost certainly in your MTA's mail
> queue as nagios has built-in timeouts to kill those outstanding
> notification processes (notification_timeout=30).

Ack, I forgot to say that you should look at the headers for the
messages you are getting, specifically the Received: lines and their
timestamps. That'll tell you where they've been held at each step and
for how long.

--
Marc


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list