check_smtp
Yoder the Sheepherder
stripp at myclearwave.net
Fri Sep 19 15:49:25 CEST 2003
It was a timing issue after all. I set -t 15 and it's working again.
There must have been a change on the network itself, as telneting to
port 25 now takes right at 10 seconds.
Many thanks for the help.
Much appreciated.
Marc Powell wrote:
> This seems reminiscent of an old issue with 'QUIT\r'. If you manually
> telnet to the machine on port 25 and then QUIT, how long does that
> process take?
>
> --
> Marc
>
>
>>-----Original Message-----
>>From: Yoder the Sheepherder [mailto:stripp at myclearwave.net]
>>Sent: Thursday, September 18, 2003 4:05 PM
>>To: Jason Lancaster
>>Cc: nagios-users at lists.sourceforge.net
>>
>>What I have is:
>>in checkcommands.cfg
>># 'check_smtp' command definition
>>define command{
>> command_name check_smtp
>> command_line $USER1$/check_smtp -H $HOSTADDRESS$
>> }
>>
>>and in services.cfg
>># Service definition
>>define service{
>> use generic-service ;
>
> Name
>
>>of service template to use
>>
>> host_name clrwv-mail
>> service_description SMTP
>> is_volatile 0
>> check_period 24x7
>> max_check_attempts 3
>> normal_check_interval 3
>> retry_check_interval 1
>> contact_groups admin
>> notification_interval 10
>> notification_period 24x7
>> notification_options w,u,c,r
>> check_command check_smtp
>> }
>>
>>
>>I've set up check_tcp on port 25 for now, but am still looking at what
>>caused this. A sendmail upgrade may be causing this, but not sure.
>>Thank you much.
>>
>>Jason Lancaster wrote:
>>
>>>Can you post your exact check command definition? The only other
>
> thought
>
>>>I have is you're hitting the Nagios plugin execution time limit
>
> (default
>
>>> is 30s I believe) defined in nagios.cfg.
>>>
>>>Jason
>>>
>>>Yoder the Sheepherder wrote:
>>>
>>>
>>>>The only arg I'm using is -H although I have tried it with -p, -e,
>
> and
>
>>>>-f. I'm going back and checking to see if sendmail was updated
>
> around
>
>>>>the time this happened, but I do not believe so.
>>>>
>>>>Subhendu Ghosh wrote:
>>>>
>>>>
>>>>>What are the args to check_smtp in your config?
>>>>>
>>>>>On Mon, 15 Sep 2003, Yoder the Sheepherder wrote:
>>>>>
>>>>>
>>>>>
>>>>>>I've had the same problem with it on Redhat. It was working for
>>>>>>quite some time, then stopped. I'm using check_smtp from nagios
>>>>>>plugins 1.3.1 on Redhat 9.
>>>>>>
>>>>>>chbaker at powersystems.rockwell.com wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>The check_smtp plugin version 1.6, on Debian unstable has
>
> started
>
>>>>>>>giving me
>>>>>>>problems over the last week or so. No matter how long I set the
>>>>>>>timeout
>>>>>>>period, the check always times out. Checks of other services on
>
> the
>
>>>>>>>same
>>>>>>>boxes are fine. When I run check_smtp from the command line to a
>>>>>>>server
>>>>>>>that is not currently being monitored, it times out as well. The
>>>>>>>servers in
>>>>>>>question do have either inetd or sendmail itself listening at
>
> port
>
>>>>>>>25. Any
>>>>>>>ideas?
>>>>>>>
>>>>>
>>>>>
>>>
>>>
>>>-------------------------------------------------------
>>>This sf.net email is sponsored by:ThinkGeek
>>>Welcome to geek heaven.
>>>http://thinkgeek.com/sf
>>>_______________________________________________
>>>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
>>>
>>
>>--
>>In a time of universal lies, Telling the Truth is a revolutionary act
>
> -
>
>>George Orwell
>>
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by:ThinkGeek
>>Welcome to geek heaven.
>>http://thinkgeek.com/sf
>>_______________________________________________
>>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 is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
>
--
In a time of universal lies, Telling the Truth is a revolutionary act -
George Orwell
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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