Re: check_udp error message

Andreas Ericsson <[email protected]> Tue, 03 Sep 2013 15:53:36 +0200
Newsgroups gmane.network.nagios.user
Message-ID <[email protected]>
On 2013-09-03 12:33, Marco Borsani wrote:
> Hi all
>
> I need to control many UDP ports.
>
>
>
> I run the command:
>
> ./check_udp =96H <IP_ADDRESS> =96p 88
>
>
>
> I receive following error message (with state UNKNOWN) :
>
> With UDP checks, a send/expect string must be specified
>
>
>
> Can anyone help me to solve it?
>
> Those parameters should be optional..
>

UDP is a connection-less protocol. The "expect" string could indeed
be optional, and we could just expect to get something at all back
when we send something, but without sending anything we won't even
touch the network, so the remote host has no idea that we're trying
to talk to it and we won't know if the port is up.

That's why "send", at least, is not optional.

-- =

Andreas Ericsson                   [email protected]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

---------------------------------------------------------------------------=
---
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=3D58040911&iu=3D/4140/ostg.cl=
ktrk
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reportin=
g any issue. =

::: Messages without supporting info will risk being sent to /dev/null