mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Merge pull request #410 from Synopsi/master
Disk/raid: cpct does not have always value
This commit is contained in:
commit
84d972d71f
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…
Reference in a new issue