Monitoring SMTP error messages

Luca Corti cortez at tiscali.it
Mon Nov 15 18:56:03 CET 2004


On Mon, 2004-11-15 at 12:47 -0500, Tom Throckmorton wrote:
> Recent versions of check_smtp (i'm using version 1.4.0alpha2 out of CVS, 
> for example) support response code checking, so that you can do 
> something like:
> 
>     check_smtp -H mailhost -C "mail from: nagios at your.domain" -R "250"
> 
> If your server returns a 451 (or anything other than a 250), the plugin 
> will return a WARNING, so you'll probably want to adjust your 
> notification_options accordingly.

Thanks a lot, I'm going to look if ti can do what I need, or I will be
writing a perl script with the expect module to manage this.

thanks

Luca




CONFIDENTIALITY NOTICE
This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium.


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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