check_snmp doesnt takes long argument strings...

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
will@bootit.com
Posts: 1
Joined: Fri Nov 01, 2013 12:07 pm

check_snmp doesnt takes long argument strings...

Post by will@bootit.com »

Hi, I’m new to forum, working on a nagios issue at my office. I am using check_snmp to grab multiple OID values at one time, as follows in example:

./check_snmp –H 1.1.1.1 –C public –o ‘<OID1>,<OID2>,…<OIDn>’ –u ‘<Label1>,<Label2>,…<Labeln>’

It seems that there is some sort of string limit on the number of OIDS or labels I can collect with one query. After about 4 (n=5,6,7,…), the query returns junk text. Is there a newer version of check_snmp that doesn’t have this issue? Or a way to get around this? Im using this version:

-rwxr-xr-x 1 root root 162576 Aug 17 2012 check_snmp

Thx in advance,

Will
Locked