Monitoring SMTP error messages

Tom Throckmorton throck at duke.edu
Mon Nov 15 18:47:23 CET 2004


Luca,

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.

Hope this helps,

-tt


On 11/15/2004 08:59 AM, Luca Corti wrote:

>Hello,
>
>I'm having some trouble with the mailservers.
>
>Basically at some time the antivirus/antispam/mta chain breaks and the
>mailservers start to refuse messages with a 451 disk full error. I'd
>like to implement a check in nagios that returns a critical error when
>It detects the mailservers are returning 451 errors.
>
>Do you know have any hints on how to do 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
>
>  
>

-- 
Tom Throckmorton
OIT - CASI
Duke University



-------------------------------------------------------
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