[Nagios-devel] Re: check_tcp bug

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Re: check_tcp bug

Post by Guest »

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





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: kdebisschop@mail.debisschop.net
Locked