[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 10.60.19.66 -p 8999 TCP OK - 0.001 second
response time on port 8999
|time=0.001487s;0.000000;0.000000;0.000000;10.000000
bash-2.03# ./check_tcp -H 10.60.19.66 -p 893 Segmentation Fault (core
dumped)

More info:

Reading symbols from
/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1...done.
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>,
port=714752,
    sd=0xae810, proto=6) at netutils.c:263
#2  0x0001da40 in my_tcp_connect (host_name=0xffbefdef "10.60.19.66",
    port=893, sd=0xae810) at netutils.c:193
#3  0x0001c8e4 in main (argc=5, argv=0xffbefcfc) at check_tcp.c:238
(gdb)



-dkk





More information about the Help mailing list