[Nagiosplug-devel] [ nagiosplug-Bugs-839427 ] problem with check_snmp -c
SourceForge.net
noreply at sourceforge.net
Fri Feb 27 23:20:02 CET 2004
Bugs item #839427, was opened at 2003-11-10 13:47
Message generated for change (Comment added) made by kdebisschop
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=839427&group_id=29880
Category: Interface (example)
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter (pkringle)
Assigned to: Nobody/Anonymous (nobody)
Summary: problem with check_snmp -c
Initial Comment:
check_snmp (nagios-plugins 1.3.1) 1.24.2.2
If you run the follow command it work fine with the -w,
when within 1 - 200 it errors, and when outside 1 - 200
it is OK.
check_snmp -H $HOSTADDRESS$ -o $ARG2$ -w 200:1 -C $ARG1$
But if you use the -c it will always think it is an
error if the result is 0
check_snmp -H $HOSTADDRESS$ -o $ARG2$ -c 200:1 -C $ARG1$
I believe this is just a problem witht he source, but I
personally haven't learn C very well (just a perl and
php guy).
Thanks.
----------------------------------------------------------------------
>Comment By: Karl DeBisschop (kdebisschop)
Date: 2004-02-28 02:16
Message:
Logged In: YES
user_id=1671
Verified:
./plugins/check_snmp -C xxx -P 1 -o .1.3.6.1.2.1.11.3.0 -H
127.0.0.1 -c 200:1
SNMP CRITICAL - *0*
./plugins/check_snmp -C xxx -P 1 -o .1.3.6.1.2.1.11.3.0 -H
127.0.0.1 -w 200:1
SNMP OK - 0
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=839427&group_id=29880
More information about the Devel
mailing list