Package: munin-plugins-extra
Version: 1.2.6-14
Severity: minor
Tags: patch
When installing munin-plugins-extra on a server running dhcp3-server,
the plugin will not be able to work out of the box, as it contains wrong
default locations for the dhcpd configuration file, and for the leases file.
See attached patch that corrects the paths.
Note: This is debian spesific, as only debian changes the default dhcp3-server
file paths. No need to send this upstream.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages munin-plugins-extra depends on:
ii munin-node 1.2.6-14 network-wide graphing framework (n
ii perl 5.10.0-25 Larry Wall's Practical Extraction
munin-plugins-extra recommends no packages.
Versions of packages munin-plugins-extra suggests:
ii libnet-netmask-perl 1.9015-3 parse, manipulate and lookup IP ne
pn logtail <none> (no description available)
-- no debconf information
Description: Change the dhcpd3 plugin to reflect debian spesific locations
for the dhcpd configuration file and leases file
--- munin-1.2.6.orig/node/node.d/dhcpd3.in 2005-03-29 20:32:59.000000000 +0000
+++ munin-1.2.6/node/node.d/dhcpd3.in 2009-08-27 21:04:57.873424331 +0000
@@ -48,8 +48,8 @@
my %ips = ();
my $DEBUG = 0;
-my $LEASEFILE = $ENV{leasefile} || "/var/lib/dhcp/dhcpd.leases";
-my $CONFIGFILE = $ENV{configfile} || "/etc/dhcpd.conf";
+my $LEASEFILE = $ENV{leasefile} || "/var/lib/dhcp3/dhcpd.leases";
+my $CONFIGFILE = $ENV{configfile} || "/etc/dhcp3/dhcpd.conf";
if($ARGV[0] and $ARGV[0] eq "autoconf" ) {
if($ret) {