mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
Fix cpct value
This commit is contained in:
parent
f57d763b3f
commit
d7e6c0114d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue