can't locate Xorux_lib.pm file in the sanperf.pl script
Hi,
I got the following Problem, that no san devices (in this case our cisco fabrics) with the sanperf.pl script doesn't work.
When I try to run the script manually I got following error:
xormon@lnxa:~> /usr/bin/perl /home/xormon/stor2rrd/bin/sanperf.pl harz-fab1
Can't locate Xorux_lib.pm in @INC (you may need to install the Xorux_lib module) (@INC contains: /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl) at /home/xormon/stor2rrd/bin/sanperf.pl line 9.
BEGIN failed--compilation aborted at /home/xormon/stor2rrd/bin/sanperf.pl line 9.
xormon@lnxa:~> find . -name Xorux_lib.pm
./stor2rrd/bin/Xorux_lib.pm
xormon@lnxa:~>
What's wrong here?
I have also added the /home/xormon/stor2rrd/bin Directory in the PERL5LIB Environment variable.
thanks
I got the following Problem, that no san devices (in this case our cisco fabrics) with the sanperf.pl script doesn't work.
When I try to run the script manually I got following error:
xormon@lnxa:~> /usr/bin/perl /home/xormon/stor2rrd/bin/sanperf.pl harz-fab1
Can't locate Xorux_lib.pm in @INC (you may need to install the Xorux_lib module) (@INC contains: /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl) at /home/xormon/stor2rrd/bin/sanperf.pl line 9.
BEGIN failed--compilation aborted at /home/xormon/stor2rrd/bin/sanperf.pl line 9.
xormon@lnxa:~> find . -name Xorux_lib.pm
./stor2rrd/bin/Xorux_lib.pm
xormon@lnxa:~>
What's wrong here?
I have also added the /home/xormon/stor2rrd/bin Directory in the PERL5LIB Environment variable.
thanks
Comments
-
do you use any hot-fix or regular distribution?
-
Hi,
manual startup of sanperf.pl is not supported.
You have to run the wrapper, which sets all the necessary variables../home/xormon/stor2rrd/load_sanperf.sh
Schedule to run SAN agent from stor2rrd crontab:$ crontab -e
# SAN agent
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_sanperf.sh >/home/stor2rrd/stor2rrd/logs/load_sanperf.out 2>&1Don't forget to change path from "home/stor2rrd/stor2rrd/" to "/home/xormon/stor2rrd/".
Here is detailed documentation (SAN tab): http://stor2rrd.com/install.htm?1.2
-
Hi,
we install a new stor2rrd Server with stor2rrd version 2.41 on SLE 15.
When I ran the load_sanperf.sh I got following Errors in the logs:
$ tail error.log-*arz-fab*
==> error.log-barz-fab1 <==
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:40 : too many barz-fab1 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:41 : too many barz-fab1 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31191 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31364 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31682 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:44 : too many barz-fab1 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 1955 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2166 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2394 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
Mon Dec 3 17:49:28 2018: Got Timeout querying barz-fab1 for sysDescr. No such file or directory/home/xormon/stor2rrd/bin/sanperf.pl:3137 : No such file or directory==> error.log-barz-fab2 <==
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:40 : too many barz-fab2 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:41 : too many barz-fab2 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31198 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31365 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31685 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:44 : too many barz-fab2 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 1965 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2176 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2416 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
Mon Dec 3 17:49:28 2018: Got Timeout querying barz-fab2 for sysDescr. No such file or directory/home/xormon/stor2rrd/bin/sanperf.pl:3137 : No such file or directory==> error.log-harz-fab1 <==
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:40 : too many harz-fab1 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:41 : too many harz-fab1 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31162 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31326 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31628 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:44 : too many harz-fab1 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 1929 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2137 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2382 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
Mon Dec 3 17:49:28 2018: Got Timeout querying harz-fab1 for sysDescr. No such file or directory/home/xormon/stor2rrd/bin/sanperf.pl:3137 : No such file or directory==> error.log-harz-fab2 <==
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:40 : too many harz-fab2 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:41 : too many harz-fab2 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31182 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31352 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 31654 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: 2018-12-03_17:44 : too many harz-fab2 processes: sanperf.pl, exiting
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 1949 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2153 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
/home/xormon/stor2rrd/bin/san_stor_load.sh: line 18: 2396 Terminated $PERL $BINDIR/sanperf.pl $SAN_IP
Mon Dec 3 17:49:28 2018: Got Timeout querying harz-fab2 for sysDescr. No such file or directory/home/xormon/stor2rrd/bin/sanperf.pl:3137 : No such file or Directory
Which TCP-Port is used for the Connection from the stor2rrd Server to the storage devices? Is SSH-Port (22) enough?
thanks! -
Hi,
it looks like data collection from your switches takes longer than 3 minutes.
We recommend to run the agent every 10 minutes.$ crontab -e
# SAN agent
0,10,20,30,40,50 * * * * /home/stor2rrd/stor2rrd/load_sanperf.sh >/home/stor2rrd/stor2rrd/logs/load_sanperf.out 2>&1
Howdy, Stranger!
Categories
- 1.5K All Categories
- 24 XORMON NG
- 25 XORMON
- 139 LPAR2RRD
- 12 VMware
- 14 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 118 STOR2RRD
- 18 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 11 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle