load_alert errors
Hello,
can anyone help with the issue i have when trying to run load_alert.sh on AIX, please?
I'd like to monitor cpu pool utilization. Error is:
Thanks
can anyone help with the issue i have when trying to run load_alert.sh on AIX, please?
I'd like to monitor cpu pool utilization. Error is:
Use of uninitialized value in subtraction (-) at /home/lpar2rrd/lpar2rrd/bin/alrt.pl line 1144.
Use of uninitialized value in subtraction (-) at /home/lpar2rrd/lpar2rrd/bin/alrt.pl line 1153.
Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
Tue Nov 20 11:02:38 2018: /home/lpar2rrd/lpar2rrd/bin/alrt.pl failed: ERROR: the first entry to fetch should be after 1980 (-600) at /home/lpar2rrd/lpar2rrd/bin/alrt.pl line 1429
lpar2rrd version is 4.91
config entry is:
POOL:AIX-SERVER-NAME:DefaultPool:80%:1%:::mail@address.comlpar2rrd version is 4.91
config entry is:
Thanks
Comments
-
Hi,there was a bug in the latest version 5.07 for CPU pool alerting, but I am not sure if it is something what affecting even you. Message "ERROR: the first entry to fetch should be after 1980 (-600)" we see for the first time.However start with it anyway and let us known.Use this as a fix.http://www.lpar2rrd.com/download/alrt.pl.gz
Gunzip it and copy to /home/lpar2rrd/lpar2rrd/bin (755, lpar2rrd owner)
-rwxrwxr-x 1 lpar2rrd lpar2rrd 105500 Apr 12 08:20 bin/alrt.pl
If your web browser gunzips it automatically then just rename it: mv alrt.pl.gz alrt.pl
Assure that file size is same as above listed one
-
Hi Pavel,
i tried with the file you've provided but the issue still exists.
Here is the load_alert.sh output:(...)fetching HMC ... shared poolsinfo ... Probably no shared CPU pools are supported or configuredWorking for .... POOL:AIX-SERVER-NAME:DefaultPool:2%:1%:::mail@address.comERROR /home/lpar2rrd/lpar2rrd/bin/alrt.pl failed: ERROR: the first entry to fetch should be after 1980 (-60) at /home/lpar2rrd/lpar2rrd/bin/alrt.pl line 1429 :An error occured in lpar2rrd, check /home/lpar2rrd/lpar2rrd/logs/error.log-alrt and output of load.sh
Correct output from the lpar2rrd server (v5.07) i have installed in the meantime
(...)fetching HMC shared poolsfetching HMC shared pool listinserted pool_sh 49 record(s)And mail alert received.
I'll try to do some tests on a new lpar2rrd server with data from the old one and share results here.
Thanks -
what about other pools than DefaultPool.Can you try "CPU pool" instead?
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle