dhcpd-pools/contrib
Jean Benoit 0f19d44c1d
contrib: snmptest.pl SNMPwalk can't access to all variables/wrong sort
Large quantity of data will be missing when snmptest.pl is used.  The reason
is a sort in lexicographic order:

    $ snmpwalk -v2c -c public localhost .1.3.6.1.4.1.2021.250.255 |head
    iso.3.6.1.4.1.2021.250.255.2.1 = STRING:  "10.4.52.1"
    iso.3.6.1.4.1.2021.250.255.2.10 = STRING: "192.168.35.64"
    iso.3.6.1.4.1.2021.250.255.2.100 = STRING: "192.168.196.1"
    iso.3.6.1.4.1.2021.250.255.2.101 = STRING: "192.168.198.1"
    iso.3.6.1.4.1.2021.250.255.2.102 = STRING: "192.168.209.225"
    iso.3.6.1.4.1.2021.250.255.2.103 = STRING: "192.168.209.241"

SNMPGetNext after "root.2.1" should give "root.2.2".  Thus, lots of
variables are missing.

The function is now dependant on a CPAN module NetSNMP::OID, (debian/ubuntu
package is called libsnmp-perl).  This is probably not the most efficient
way to do it: walking the whole tree will be much slower.

Signed-off-by: Jean Benoit <jean@unistra.fr>
2020-09-04 19:38:17 +01:00
..
munin_plugins contrib: add munin plugins 2012-12-05 18:18:03 +00:00
.gitignore contrib: remove unnecessary cgi script 2016-04-01 23:11:37 +01:00
kerolasa.gpg docs: update maintainer gpg key 2017-09-17 09:50:55 +01:00
Makemodule.am contrib: remove unnecessary cgi script 2016-04-01 23:11:37 +01:00
nagios.conf.in make binary exec path dynamic in scripts referring to it 2015-11-25 21:53:29 +00:00
PKGBUILD contrib: add archlinux package build file 2016-04-01 23:11:36 +01:00
rpm.spec contrib: Klaus Slott told about opensuse package 2017-04-10 13:12:34 +01:00
snmptest.pl contrib: snmptest.pl SNMPwalk can't access to all variables/wrong sort 2020-09-04 19:38:17 +01:00
zabbix.txt contrib: point out where one can find zabbix template 2020-08-29 09:46:21 +01:00