mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 18:07:20 +00:00
Change to DERIVE.
Values can return to 0 on service restart which COUNTER data store will not handle well.
This commit is contained in:
parent
b47505cef2
commit
6b94ef0284
4 changed files with 4 additions and 4 deletions
|
@ -138,7 +138,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq 'config' ) {
|
|||
} elsif (exists $ENV{"max$queues{$key}->{handle}"}) {
|
||||
print $queues{$key}->{queue},$queues{$key}->{handle}, ".max ",$ENV{"max$queues{$key}->{handle}"},"\n";
|
||||
}
|
||||
print $queues{$key}->{queue},$queues{$key}->{handle}, ".type COUNTER\n";
|
||||
print $queues{$key}->{queue},$queues{$key}->{handle}, ".type DERIVE\n";
|
||||
if($count == 0){
|
||||
print $queues{$key}->{queue},$queues{$key}->{handle}, ".draw AREA\n";
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue