simulate complete email

Russell Adams RLAdams at Kelsey-Seybold.com
Tue Jul 29 16:50:53 CEST 2003


I did something like this for a while.

Had a cron job that sent an email to a specific test email address on
our exchange server every five minutes. That test address was set to
forward all mail to a test address on the Netsaint host. I had a
sendmail alias setup for that address to run a passive service check
submission.

I think I then had a service that checked to ensure that the passive
service triggered by receipt of the email didn't get stale. If the
email hadn't succeeded in triggering the passive service check
submission in 15 minutes, it went critical.

This was because we were having issues with the SMTP portion of
exchange locking up on the mailserver.

Just my $0.02 worth. ;]

Russell

On Tue, Jul 29, 2003 at 12:41:25AM -0400, Karl DeBisschop wrote:
> On Sun, 2003-07-27 at 19:41, J.M.Roth wrote:
> > Hi there,
> > I'd like to simulate a complete email to a "devnull" address.
> > There doesn't seem to be a command to do it.
> > I just wanna make sure that although the smtp service might be up the 
> > delivery could still fail after the DATA command, and in fact I'd like 
> > to check its return value.
> > I was expecting to maybe use -e -s -e etc. in sequence with check_smtp 
> > but it doesn't seem to be the case.
> > Any idea?
> > Greets,
> > -jm
> 
> Not exactly what you asked for, but have you looked at
> contrib/check_email_loop.pl?
> 
> Doen't meet your spec, but might satisfy your goals.
> 
> --
> Karl
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> 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


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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