[Nagiosplug-help] check_tcp issues

Kemp, Darren Darren.Kemp at xerox.com
Tue Aug 31 11:28:07 CEST 2004

I am having issues with check_tcp.
Basically if the port im checking is up and active all is well, if its
not up I get a Segmentation Fault.

Has this bug been addressed?

bash-2.03# ./check_tcp -H -p 8999 TCP OK - 0.001 second
response time on port 8999
bash-2.03# ./check_tcp -H -p 893 Segmentation Fault (core

More info:

Reading symbols from
Loaded symbols for /usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1
#0  0xff364b44 in freeaddrinfo () from /usr/lib/libsocket.so.1
(gdb) where
#0  0xff364b44 in freeaddrinfo () from /usr/lib/libsocket.so.1
#1  0x0001dba4 in my_connect (
    host_name=0xffffffff <Address 0xffffffff out of bounds>,
    sd=0xae810, proto=6) at netutils.c:263
#2  0x0001da40 in my_tcp_connect (host_name=0xffbefdef "",
    port=893, sd=0xae810) at netutils.c:193
#3  0x0001c8e4 in main (argc=5, argv=0xffbefcfc) at check_tcp.c:238


More information about the Help mailing list