[Nagiosplug-devel] check_snmp OID numbers limited?

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Jul 10 01:42:15 CEST 2010


-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw3s9EACgkQ6dZ+Kt5BchY8wgCeLV8WlVQzobLBnlUzMNiMvRk5
iyYAnjikxc2645MzZqbShL0lmKt5ok9w
=Lux5
-----END PGP SIGNATURE-----




More information about the Devel mailing list