dhcpd3 - Plugin to monitor dhcpd3 leases
Any system running dhcpd3.
This plugins requires these Perl modules to work: Net::Netmask and HTTP::Date.
The following environment settings are the default configuration. The "user" setting is needed and must be set explicitly.
[dhcpd3] user root env.leasefile /var/lib/dhcp3/dhcpd.leases env.configfile /etc/dhcp3/dhcpd.conf env.filter ^10\.140\. env.critical 0.95 env.warning 0.9
The optional filter setting is used to strip parts of ranges for the network labels (example will show 10.140.80.0 as 80.0). Both critical and warning are optional settings, default for warning is 0.9 (90%) and 0.95 for critical (95%).
The plugin shows the number of used leases by subnet.
#%# family=contrib #%# capabilities=autoconf
If a DHCP config file contains multiple subnets but none of them has a dynamic range, the dhcp3 plugin only detects this situation for the last subnet. Need to to improve the parser to properly detect the end of a subnet definition (Munin trac ticket #829)
Rune Nordbøe Skillingstad.