XenServer XAPI2JSON: 0 timeouted - lpar2rrd-6.20
Good afternoon,
I am having problems with Xen Server, in other versions it worked correctly. When installing 6.20 it was unable to load data from Xen Server.
[lpar2rrd@lpar2rrd~]$ /home/lpar2rrd/lpar2rrd/load_xenserver.sh
load_xenserver.sh : start
xen-xapi2json.pl : collect data from XAPI, Fri Aug 28 15:21:13 -03 2020
xen-json2rrd.pl : push data to rrd, Fri Aug 28 15:36:13 -03 2020
RRDp version: 1.4008
RRDtool version: 1.4.8
xen-json2rrd.pl finish : status 0
xen-cleanup.pl : already ran today, skip
/home/lpar2rrd/lpar2rrd/load_xenserver.sh: line 167: 30318 Alarm clock wait_time $timeout
An error occured in lpar2rrd, check /home/lpar2rrd/lpar2rrd/logs/error.log-xen and output of load.sh
$ tail -1 /home/lpar2rrd/lpar2rrd/logs/error.log-xen
XenServer XAPI2JSON: 0 timeouted.
date end all : Fri Aug 28 15:36:14 -03 2020
[lpar2rrd@lpar2rrd~]$
Connection checks are ok
Connection checks are ok
Any idea what the problem may be?
Comments
-
Hello,
can you check, if any data is actually fetched from the XenServer host?
cd /home/lpar2rrd/lpar2rrd ### or wherever your LPAR2RRD directory is located ls -lR data/XEN_iostats
-
Thanks for the reply. I show you[lpar2rrd@xorux lpar2rrd]$ ls -lR data/XEN_iostatsdata/XEN_iostats:total 4-rw-r--r-- 1 lpar2rrd lpar2rrd 3 Aug 31 10:40 conf.jsondrwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:15 jsondrwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 10:40 metadatadrwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:00 xmldata/XEN_iostats/json:total 0data/XEN_iostats/metadata:total 0data/XEN_iostats/xml:total 0[lpar2rrd@xorux lpar2rrd]$---------------------------------------------------------------------I continue with the same error.When I had version 6.02 it worked correctly, the problem appeared when I installed version 6.20.
If I get other information:[lpar2rrd@xorux data]$ ls -lR XEN*XEN:total 4drwxr-xr-x 2 lpar2rrd lpar2rrd 4096 Aug 31 11:15 d4c65b02-200e-4312-a8d9-4f872e507bd2XEN/d4c65b02-200e-4312-a8d9-4f872e507bd2:total 67284-rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-179597ec.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-3a8c81b5.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-83a2d901.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-882ec299.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 10519688 Aug 31 11:15 disk-9808bf6b.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 1913312 Aug 31 11:15 lan-bond0.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 1913312 Aug 31 11:15 lan-bond1.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 1913312 Aug 31 11:15 lan-eth0.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 1913312 Aug 31 11:15 lan-eth1.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 1913312 Aug 31 11:15 lan-eth2.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 1913312 Aug 31 11:15 lan-eth3.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 4782104 Aug 31 11:15 sys.rrdXEN_iostats:total 4-rw-r--r-- 1 lpar2rrd lpar2rrd 3 Aug 31 10:40 conf.jsondrwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:15 jsondrwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 10:40 metadatadrwxr-xr-x 2 lpar2rrd lpar2rrd 6 Aug 31 11:00 xmlXEN_iostats/json:total 0XEN_iostats/metadata:total 0XEN_iostats/xml:total 0XEN_VMs:total 88720-rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 381aa7a9-7358-27bf-d649-3a02b083a51f.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 3da3cd95-c53b-2fed-e031-6251ab36d39e.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 5bbbd16b-b65a-0b56-0ace-f3ed0080754b.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 674a75c5-1320-2f6b-31e5-fe70cbf28270.rrd-rw-r--r-- 1 lpar2rrd lpar2rrd 18169800 Aug 31 11:15 792f4559-0bee-40ec-a5e0-0bb845759f43.rrd[lpar2rrd@xorux data]$ -
It seems that fetching metadata over SSH timeouts; could you send us logs to look into it?
Note a short problem description in the text field of the upload form.
cd /home/lpar2rrd/lpar2rrd # or where is your LPAR2RRD working dir tar cvhf logs.tar logs tmp/*txt tmp/*json gzip -9 logs.tar
Send us
logs.tar.gz
via https://upload.lpar2rrd.com -
Good morning.Thanks, I was able to fix it already.Replace just xen-xapi2json.pl with version 6.02 and it worked fine.Previously I tried with version 6.11 and it didn't work.Thank you and I hope it serves you.Regards
-
Hello,
keep in mind, however, that using an older version of the part of the program might yield unintended behavior, especially with regards to incomplete data.
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