|
|||||||||||
|
[Nagiosplug-help] How to format send/expect strings for check_udp against SNMP managed devices?
From: <Ralph.Grothe(at)itdz-berlin.de>
Date: Tue Sep 25 2007 - 06:45:19 EDT
I am struggling a bit with check_udp.
I wish to define a check command that can be run against a
hostgroup snmp_hosts
This check should merely verify a willing to respond snmp agent
without querying any special OID(s) via e.g. check_snmp.
I will assume for simplicity that only SNMPv1 is involved and
that
Since UDP checks are a bit tricky I guess the check must coax the
agent into
So from what I saw in wireshark I naively tried this approach
$ check_udp -v -H sensor_r01 -p 161 -E -s "version: version-1
(0)\ncommunity: public" -e "version: version-1"
Using service UDP
0: version: version-1
Assuming that -m relates to the SNMP payload and thus only caring
for the first 18 bytes of the response
$ check_udp -v -H sensor_r01 -p 161 -E -s "version: version-1
(0)\ncommunity: public" -m 18 -e "version: version-1"
Using service UDP
0: version: version-1
What do I need to change to get an OK from check_udp? Regards Ralph This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ Nagiosplug-help mailing list Nagiosplug-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Received on Tue Sep 25 06:45:37 2007 This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 18:06:12 EDT |
||||||||||
|
|||||||||||