mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Fix cpct value
This commit is contained in:
parent
f57d763b3f
commit
d7e6c0114d
@ -66,6 +66,8 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
|
|||||||
}
|
}
|
||||||
if ( $proc ) {
|
if ( $proc ) {
|
||||||
$cpct = $proc;
|
$cpct = $proc;
|
||||||
|
} else {
|
||||||
|
$cpct = 0;
|
||||||
}
|
}
|
||||||
print "$dev.value $pct\n";
|
print "$dev.value $pct\n";
|
||||||
print $dev, "_rebuild.value $rpct\n";
|
print $dev, "_rebuild.value $rpct\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user