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]) {
lue='hotfix/0.20.0.4'>hotfix/0.20.0.4 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/rdoc-2.4.3/test/test_rdoc_task.rb
blob: dd3114fb573ee2f68d09e296b680f2c56215ccc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64