No description
Find a file
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
build-aux build-sys: update .gitignore files 2019-07-27 21:17:45 +01:00
contrib contrib: snmptest.pl SNMPwalk can't access to all variables/wrong sort 2020-09-04 19:38:17 +01:00
doc docs: update doxygen configuration file 2017-09-17 08:43:19 +01:00
lib build-sys: update bootstrap from gnulib 2020-03-31 20:14:34 +01:00
man misc: fix spelling issues 2019-09-12 22:29:44 +01:00
samples output: add ethernet address priting support to --mustach 2019-10-26 22:23:19 +01:00
snippet build-sys: add gnulib 2012-11-05 00:03:03 +00:00
src output: update javascripts 2020-03-31 20:17:08 +01:00
tests output: update javascripts 2020-03-31 20:17:08 +01:00
webpages drop images, java scripts, and such from web sitemap file 2018-08-26 09:32:15 +01:00
.gitignore build-sys: add coverage files to .gitignore 2017-11-26 13:59:17 +00:00
.mailmap add .mailmap 2018-02-24 11:48:02 +00:00
AUTHORS INSTALL file is unnecessary 2011-02-08 22:52:11 +01:00
bootstrap build-sys: update bootstrap from gnulib 2020-03-31 20:14:34 +01:00
bootstrap.conf build-sys: update bootstrap from gnulib 2020-03-31 20:14:34 +01:00
ChangeLog docs: fix spelling mistakes 2012-11-20 21:09:53 +00:00
configure.ac clean up: fix couple compiler warnings 2017-11-13 11:37:18 +00:00
COPYING licensing: set placeholder properly 2011-07-09 10:18:53 +02:00
Makefile.am docs: add mustach sample files 2017-11-09 19:49:17 +00:00
NEWS release: 3.1 2020-03-31 20:20:10 +01:00
project.doap fix doap file git repository and license section 2016-04-23 22:55:21 +01:00
README docs: fix couple typos and improve a sentence in README 2016-10-02 21:35:29 +01:00
THANKS contrib: snmptest.pl SNMPwalk can't access to all variables/wrong sort 2020-09-04 19:38:17 +01:00
TODO release: 3.0 2017-11-15 13:29:46 +00:00

This is dhcpd-pools - ISC dhcpd lease status utility.

Quick start.

	Get the uthash, assuming you do not have it already.

	cd /tmp
	wget https://github.com/troydhanson/uthash/archive/master.zip
	unzip master.zip

	Build the dhcpd-pools project.

	cd /tmp/dhcpd-pools
	./bootstrap	# only when building git clone
	./configure --with-uthash=/tmp/uthash-master/include
	make
	make check
	make install

	Notice that there are configuration options for default dhcpd.conf,
	dhcpd.leases paths, among other things.

	./configure --help

	Remember to read the friendly manual page.

	man ./man/dhcpd-pools.1

Dependencies to other projects.

	http://www.gnu.org/software/gnulib/

		You can avoid repeated gnulib downloads by setting
		GNULIB_SRCDIR environment variable.  For example:

		git clone git://git.savannah.gnu.org/gnulib.git ~/src/gnulib
		export GNULIB_SRCDIR="$HOME/src/gnulib"

		Assumign detached gnulib please remember to git pull the
		latest updates before building dhcpd-pools.

	http://uthash.sourceforge.net/

		See quick start.

	https://getbootstrap.com/
	https://datatables.net/

		Bootstrap and DataTables java scripts are used in html
		output.

Test data wanted.

	Maintainer is interested to get copy of your dhcpd.conf
	and dhcpd.leases files, and include files if you use them.
	Intention is to collect large set of data to build
	realistic regression test environment.

	If you are interested to help this way put all files into
	tar.gz, and send them to:

	Sami Kerola <kerolasa@iki.fi>