mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Fixing Evictions Stats Key Collision
This commit is contained in:
parent
503c2a0d73
commit
281bd584c4
@ -810,6 +810,9 @@ sub fetch_stats {
|
||||
while (my $line = <$s>) {
|
||||
if ($line =~ /STAT\s(.+?)\s(.*)/) {
|
||||
my ($skey,$svalue) = ($1,$2);
|
||||
if ($skey eq 'evictions') {
|
||||
$skey = 'evictions_active';
|
||||
}
|
||||
$stats{$skey} = $svalue;
|
||||
}
|
||||
last if $line =~ /^END/;
|
||||
|
Loading…
Reference in New Issue
Block a user