Mail throughput plugin

Marc Powell marc at ena.com
Tue Feb 6 17:02:47 CET 2007



> -----Original Message-----
> From: mario [mailto:ml at bortal.de]
> Sent: Tuesday, February 06, 2007 9:45 AM
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Mail throughput plugin
> 
> Hi Marc,
> 
> Marc Powell wrote:
> >


> # This example will send eacht time this check is executed a new
> # mail to remaileradress at friend.com using the SMTP-Host mailer.
> # Then it looks for any back-forwarded mails in the POP3 host
> # mypop. In this Configuration CRITICAL state will be reached if
> # more than 2 Mails are pending (meaning that they did not came
> # back till now) or if a mails got lost (meaning a mail, that was
> # send later came back prior to another mail).
> (...)
> 
> Does this mean i need to configure my destination to bounce my email
back?

No, the plugin will POP the account you specify to see if the messages
arrived.

I see that the plugin doesn't support SMTP Auth. Looking at
http://search.cpan.org/~gbarr/libnet-1.20/Net/SMTP.pm, at first glance
it would seem to be pretty straightforward to add a
$smtp->auth(<username>,<password>) to the script around line 125 to
support that. An attempted patch is attached. I don't have access to an
SMTP Auth server to test so YMMV.

--
Marc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_email_loop.auth.patch.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070206/98d0f22a/attachment.txt>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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