[Nagiosplug-devel] Re: check_tcp bug
Karl DeBisschop
kdebisschop at mail.debisschop.net
Thu Dec 19 11:33:09 CET 2002
Russell Scibetti writes:
> I've noticed two small problems with the check_tcp plugin (nagiosplug
> 1.3b2) that prevent it from doing its proper default expect string
> checking (i.e - if you are running check_smtp, by default you expect a
> "220" return, etc).
>
> First, the expect value for check_pop (and check_spop) is incorrect. The
> expect is set to "110", which is just the port for POP. This never
> actually gets returned when to do a tcp connect to POP. What you need to
> get back to know that POP is working is "+OK".
>
> Secondly, there is a bug in that, unless the user gives uses the -e
> argument, none of the default expects will every be checked. Here is a
> piece of the check_tcp code:
patch applied and CVS committed. Thanks.
Karl
More information about the Devel
mailing list