[Nagiosplug-help] Re: Testing telnet more carefully (check_tcp)
Karl DeBisschop
karl at debisschop.net
Wed Oct 16 23:06:23 CEST 2002
On Thu, 2002-10-17 at 01:53, Karl DeBisschop wrote:
> On Fri, 2002-10-11 at 21:13, C. Bensend wrote:
> >
> > Hey folks,
> > In my very simple grokking of check_tcp.c, it doesn't
> > seem that the --expect flag really does anything. Is this
> > correct? If I'm misunderstanding things, please take no
> > offense - C isn't my native language.
>
> Its not true. Works fine with http, for instance. (If you remember that
> the http dialog requires that you send a GET first).
>
> OOTH, I can't get telnet to work either.
Another data point - works fine against ssh as well:
./plugins/check_tcp -p 22 -e SSH -H localhost
TCP OK - 0 second response time on port 22 \
[SSH-1.99-OpenSSH_3.1p1]|time=0
--
Karl
More information about the Help
mailing list