3.0: small update

This commit is contained in:
Jordi Sanfeliu 2012-11-22 16:11:15 +01:00
parent 3d0247b3b7
commit c42a536816
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ sub system_init {
$config->{system_hist} = 0;
push(@{$config->{func_update}}, $package);
logger("$myself: Ok") if($debug);
logger("$myself: Ok") if $debug;
}
sub system_update {
@ -294,7 +294,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);
logger("$myself: $rrdata") if($debug);
logger("$myself: $rrdata") if $debug;
my $err = RRDs::error;
logger("ERROR: while updating $rrd: $err") if $err;
}