Issue with alerting

Hi,

I've got a lot of kind of this message in the file "/$LPAR2RRD_HOMEDIR/logs/error.log-alrt" :

Thu Aug  2 06:51:05 2018: conf_proc_units is not number in rrd file: hmcxx:xxxxxxx:pool : 81.8 /app/lpar2rrd/bin/alrt.pl:1168


Seems there is a problem with the dot.

In the perl code, i can see just above the line 1168 these lines :

      $total_cpu_act =~ s/,/\./; # no idea ahy but decimal separator was ",", fixed to '."
      $bor_cpu_act =~ s/,/\./;
      my $total_cpu = sprintf '%g', $total_cpu_act;
      my $bor_cpu   = sprintf '%g', $bor_cpu_act;

anyone has this problem ?



Comments

  • Hi,

    this issue is already fixed.

    Use following file:
    Gunzip it and copy to /home/lpar2rrd/lpar2rrd/bin (755, lpar2rrd owner)
    -rwxrwxr-x 1 lpar2rrd lpar2rrd 105500  2. srp 14.23 alrt.pl
    If your web browser gunzips it automatically then just rename it: mv alrt.pl.gz alrt.pl

    Let us know, if that helped, thanks.
  • Thanks. It works fine, now.
Sign In or Register to comment.