mirror of https://github.com/mikaku/Monitorix.git
3.0: small cosmetic change
This commit is contained in:
parent
643f98114f
commit
93800fa6f3
|
@ -78,9 +78,7 @@ sub system_init {
|
|||
|
||||
$config->{system_hist} = 0;
|
||||
push(@{$config->{func_update}}, $package);
|
||||
if($debug) {
|
||||
logger("$myself: Ok");
|
||||
}
|
||||
logger("$myself: Ok") if($debug);
|
||||
}
|
||||
|
||||
sub system_update {
|
||||
|
@ -276,9 +274,7 @@ sub system_update {
|
|||
|
||||
$rrdata .= ":$load1:$load5:$load15:$nproc:$npslp:$nprun:$npwio:$npzom:$npstp:$npswp:$mtotl:$mbuff:$mcach:$mfree:$macti:$minac:$val01:$val02:$val03:$val04:$val05";
|
||||
RRDs::update($rrd, $rrdata);
|
||||
if($debug) {
|
||||
logger("$myself: $rrdata");
|
||||
}
|
||||
logger("$myself: $rrdata") if($debug);
|
||||
my $err = RRDs::error;
|
||||
logger("ERROR: while updating $rrd: $err") if $err;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue