Version 2.1

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2006-03-13 00:00:00 +02:00
parent 74aef1c34e
commit 61b6acf2f5
52 changed files with 41412 additions and 9588 deletions

47
TODO
View file

@ -1,22 +1,29 @@
1 Well structured code, with extendible sane architecture.
2 Server, which has analysis in cache for N seconds and will
answer via socket.
3 Configuration file for server.
4 State file, where different ranges, shared networks etc have
unique identifiers (needed for graphs).
5 Support for snmp and munin protocols.
6 SNMP traps when limits get exceeded.
7 Some clever check_dhcpd_pools binary for Nagios & other
monitoring software.
Todo:
8 Super server support, which will collect analysis from other
dhcpd-pool servers.
9 Nice http view interface on super server, much can be copied
from http://piwik.org/
10 IPv6 support.
11 And some other things perhaps...
* dhcpd.conf file parser should understand semantics of
configuration directives.
* Current dhcpd.conf parser will not follow include
directive.
* Better use of autoconfig. Author admits to be beginer in
using auto tools. Help needed.
* Bad english to good english translation for all files that
author has touched. Help needed.
* Output limit for pools / shared net / all. Bit mask will do
this quite nicely, copy idea from chmod.
* Threshold values -> alarm possibility.
* Bug perhaps not? ./dhcpd-pools -o /dev/null
/dev/null: Inappropriate ioctl for device
Reason is fclose (outfile); in src/output.c
When items 1-7 are done v3 can be released. To support rewrite
there should be a design document with nice blue print, which is
a web page. Also getting rid of cvs and taking git in use must
happen.
@ version 3.x - tcp server & snmp support etc
* TCP server / client for distant queries + libwrap support
and some kind of protocol.
* SNMP support. Program should be demon which gives states of
pools almost instantly when queried. Calculations should be
done periodically. This way huge dhcp lease files will not
cause problem. Perhaps one thread could poll some socket
waiting for query and mean while other could do periodical
calculations, where output would be copying data for socket
thread.
* Configuration file for this command.