SMTP check always shows critical

Joe Davenport joe.davenport at chanllc.com
Tue Mar 4 17:06:31 CET 2003


    I've gotten Nagios running well except for one issue.  Nagios reports
the smtp process as critical even though the return value is SMTP-OK.
I've tried changing the check_command from a simple check_smtp to the
absolute reference below and the results are the same.




define service{
      use               generic-service
      host_name         mail1
      service_description     SMTP
      is_volatile       0
      check_period            24x7
      max_check_attempts      3
      normal_check_interval   15
      retry_check_interval    15
      contact_groups          nt-admins
      notification_interval   120
      notification_period     24x7
      notification_options    u
      check_command           "/usr/local/nagios/libexec/check_smtp -H
10.90.12.10 -p 25 -e '220' -w 7 -c 10 -t 12"
}

Here is what shows on the service status:

 SMTP  CRITICAL 03-04-2003 09:21:19 1d 2h 23m 38s 3/3 SMTP OK - 4 second
response time




      Thanks for any help.




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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