[Nagiosplug-devel] check_UDP

uemit.altan at degussa.com uemit.altan at degussa.com
Wed Jan 10 18:00:14 CET 2007


Hello,

I have problems with using the nagios-plugin "check_udp". I have the
version "check_UDP (nagios-plugins 1.4.4) 1.79".

If I perform the command "./check_udp -H 193.100.46.13 -p 53 -4 -w 5 -c 8"
on our Nagios-Server I get the following output:

With UDP checks, a send/expect string must be specified.
Usage: check_UDP -H host -p port [-w <warning time>] [-c <critical time>]
                  [-s <send string>] [-e <expect string>] [-q <quit
string>]
                  [-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>]
                  [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6]
[-j]
                  [-D <days to cert expiry>] [-S <use SSL>] [-E]


If I perform the command with send/except string like "./check_udp -H
193.100.46.13 -p 53 -4 -w 5 -c 8 -s test1 -e test2 -q test3 -v" I get the
following output:

Using service UDP
Port: 53
flags: 0x1a
Send string: test1
Quit string: test3

server_expect_count: 1
        0: test2
CRITICAL - Socket timeout after 10 seconds

So what is wrong with the syntax of my command and could you please send me
an example command?

Thank you in advance!



Best regards

Ümit Altan





More information about the Devel mailing list