Package: munin
Version: 1.2.3-1
Severity: minor
Tags: patch
Hi,
while gathering statistics in munin-limits into the %stats hash, some
field names got confused, exemplified by the attached patch.
Thanks,
Feri.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages munin depends on:
pn libdigest-md5-perl Not found.
ii libhtml-template-perl 2.6-2 HTML::Template : A module for usin
ii libparse-recdescent-perl 1.94-4 Generates recursive-descent parser
ii librrds-perl 1.0.49-1 Time-series data storage and displ
pn libtime-hires-perl Not found.
ii perl [libstorable-perl] 5.8.4-8sarge5 Larry Wall's Practical Extraction
ii perl-modules 5.8.4-8sarge5 Core Perl modules
-- no debconf information
--- /usr/share/munin/munin-limits 2006-08-24 18:32:33.000000000 +0200
+++ munin-limits 2006-09-12 17:26:58.000000000 +0200
@@ -385,12 +386,12 @@
elsif ($key =~ /^([^\.]+)\.ok$/)
{
$worst = "ok" unless $worst;
- push @{$stats{'oks'}}, $1;
+ push @{$stats{'ok'}}, $1;
push @{$stats{'foks'}}, $1;
}
else
{
- push @{$stats{'oks'}}, $1;
+ push @{$stats{'ok'}}, $1;
}
}
$client->{'cfields'} = join " ", @{$stats{'critical'}};