[Nagiosplug-devel] check_snmp OID numbers limited?

John Vincent nagiosplug-devel at lusis.org
Sat Jul 10 03:08:24 CEST 2010


On Fri, Jul 9, 2010 at 7:42 PM, Thomas Guyot-Sionnest <dermoth at aei.ca> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10-07-09 11:10 AM, Bret Cason wrote:
>> From the Nagios Plugins check_snmp documentation:
>>
>>
>>
>> Notes:
>>
>>  - Multiple OIDs may be indicated by a comma- or space-delimited list
>> (lists with
>>
>>    internal spaces must be quoted) [max 8 OIDs]
>>
>
> You can edit plugins/check_snmp.c. Near the beginning you will see:
>
> #define MAX_OIDS 8
>
> You can change that to a bigger number and it should work ok. YMMV,
> please report any bug you get while modifying this.
>
> The --help output won't change though, I just fixed that for the next
> release.
>
> - --
> Thomas

To be fair, at the point you need that many OIDs you should really
start using the MIB files.




More information about the Devel mailing list