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 ?
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.plIf 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.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle