aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rwxr-xr-xmunin-plugin-agesinceseen2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 83a5a64..2acacea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ sitesummary (0.1.3) UNRELEASED; urgency=low
this time. Check for dhcpd3 on Lenny and dhcpd on Squeeze++.
* Make sure to restart nagios-nrpe-server when sitesummary-client is
upgraded, to tell it to discover any new NRPE rules.
+ * Correct generated label names used by Munin plugin
+ munin-plugin-agesinceseen, and start with _ to make sure the first
+ character is never a digit.
-- Petter Reinholdtsen <pere@debian.org> Mon, 13 Feb 2012 11:04:46 +0100
diff --git a/munin-plugin-agesinceseen b/munin-plugin-agesinceseen
index 0d83291..9cd5f09 100755
--- a/munin-plugin-agesinceseen
+++ b/munin-plugin-agesinceseen
@@ -25,7 +25,7 @@ sub label2key {
my $label = shift;
$label =~ s/[^a-zA-Z0-9_]+/_/g;
$label =~ s/^_+//;
- return $label;
+ return "_$label";
}
if (!$ARGV[0]) {