Unable to generate the graphs in tool
Hi,
Today, i have updated the rrdtool-perl-1.3.8-10.e16.x86_64.rpm and rhel patches and restarted the linux lpar , after that I am unable to generate the graphs in lpar2rrd tool. i have tried to load the script but getting below error.
please help on it
Regards,
Srini
Today, i have updated the rrdtool-perl-1.3.8-10.e16.x86_64.rpm and rhel patches and restarted the linux lpar , after that I am unable to generate the graphs in lpar2rrd tool. i have tried to load the script but getting below error.
[lpar2rrd@ ~]$ /usr/local/capinfo/lpar2rrd/lpar2rrd/load.sh
Set correct path to RRDp.pm Perl module in lpar2rrd.cfg
it does not exist here : /usr/local/capinfo/lpar2rrd/lpar2rrd/bin:/usr/local/capinfo/lpar2rrd/lpar2rrd/vmware-lib:/usr/lib64/perl5/vendor_perl/5.1.1:/opt/freeware/lib/perl/5.1.1:/usr/opt/perl5/lib/site_perl/5.1.1:/usr/lib/perl5/vendor_perl/5.1.1:/usr/lib64/perl5/vendor_perl/5.1.1:/opt/freeware/lib/perl/5.8.0:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/lib64/perl5:/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi:/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi:/usr/local/capinfo/lpar2rrd/lpar2rrd/lib
1. Assure it is installed rrdtool-perl module
2. try to find it
find /usr -name RRDp.pm
find /opt -name RRDp.pm
3. place path (directory) to etc/lpar2rrd.cfg, parametr PERL5LIB
[lpar2rrd@ ~]$
----
----
[root@ ~]# find /usr -name RRDp.pm
/usr/lib64/perl5/vendor_perl/RRDp.pm
[root@ ~]# find /opt -name RRDp.pm
[root@ ~]#
---
path in configuration file:
---
path in configuration file:
# location of RRDp.pm (check if this file is in that directory)
# It might be also in RRDTOOL dir tree like here : /usr/local/rrdtool-1.2.15/lib/perl
# You can use more path separated by a colon for diferent necessary Perl modules
PERL5LIB=/opt/freeware/lib/perl/5.8.0:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/lib64/perl5
please help on it
Regards,
Srini
Comments
-
place /usr/lib64/perl5/vendor_perl at the end of PERL5LIB
PERL5LIB=/opt/freeware/lib/perl/5.8.0:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/lib64/perl5:/usr/lib64/perl5/vendor_perl
-
I have added the line and load it , but same error# You can use more path separated by a colon for diferent necessary Perl modulesPERL5LIB=/opt/freeware/lib/perl/5.8.0:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/lib64/perl5:/usr/lib64/perl5/vendor_perl[lpar2rrd@ ~]$ /usr/local/capinfo/lpar2rrd/lpar2rrd/load.shSet correct path to RRDp.pm Perl module in lpar2rrd.cfgit does not exist here : /usr/local/capinfo/lpar2rrd/lpar2rrd/bin:/usr/local/capinfo/lpar2rrd/lpar2rrd/vmware-lib:/usr/lib64/perl5/vendor_perl/5.1.1:/opt/freeware/lib/perl/5.1.1:/usr/opt/perl5/lib/site_perl/5.1.1:/usr/lib/perl5/vendor_perl/5.1.1:/usr/lib64/perl5/vendor_perl/5.1.1:/opt/freeware/lib/perl/5.8.0:/opt/freeware/lib/perl/5.8.8:/usr/opt/perl5/lib/site_perl/5.8.2:/usr/lib/perl5/vendor_perl/5.8.5:/usr/lib64/perl5:/usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi:/opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi:/usr/local/capinfo/lpar2rrd/lpar2rrd/lib1. Assure it is installed rrdtool-perl module2. try to find itfind /usr -name RRDp.pmfind /opt -name RRDp.pm3. place path (directory) to etc/lpar2rrd.cfg, parametr PERL5LIB
-
thanks, issue has been fixed after update the path in etc/lpar2rrd.cfg, parametr for PERL5LIB
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