Missing XenServer menu


We started to test LPAR2RRD.
We would like to monitorize our VMware and Citrix Xen Server (version 8.2.0) systems.
In the part of VMware, the datas appeard. Everything works fine in LPAR2RRD,
but unfortunately the Xen Server menu did not appear, although we set the connection in the LPAR2RRD.

Here is the connection test: (Xen Server)

API host network connection: TCP connection to x.x.x.x:443 is OK.
API authorization (root): OK
SSH network connection: TCP connection to x.x.x.x:22 is OK.
SSH authorization: OK

Everything seems ok.
Although we waited one day, but the menu did not appear.

We installed LPAR2RRD from Xorux-7.20.ovf to VMware (package type: VMware)

Could you help us to find the solution?
Thank you!


  • Hello,

    can you check, if the data is getting downloaded and stored in the first place? Specifically,

    1. are there RRD files in lpar2rrd/data/XEN and lpar2rrd/data/XEN_VMs?
    2. is there a non-empty lpar2rrd/data/XEN_iostats/conf.json file?

    Can you send us logs to look into it?

    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

  • Hello,

    I found the RRD files, in the XEN and XEN_VMs directories.

    "cat /home/lpar2rrd/lpar2rrd/data/XEN_iostats/conf.json"


    This file is not empty, but almost empty.

    The log files has been uploaded!
    Unfortunately the XenServer menu did not appeard yet.

    Thank you for your help!
  • Hello,

    metadata necessary for creating menu is not getting downloaded (over SSH from the XenServer host) and stored properly.

    I don't see the logs directory in the logs that you have uploaded. Can you upload the logs, or at least a peek at the logs/error.log-xen and logs/load_xenserver.log files?

    If there are warnings that the connection times out, and if you are using LPAR2RRD 7.20 (and as opposed to a 7.21), can you try the following patch? It restructures some of the queries over SSH to reduce overhead.


    Gunzip it and copy to /home/lpar2rrd/lpar2rrd/bin (755, lpar2rrd owner)

    -rwxrwxr-x 1 lpar2rrd lpar2rrd 17453 19. čec 13.11 xen-xapi2json.pl

    If your web browser gunzips it automatically then just rename it: mv xen-xapi2json.pl.gz xen-xapi2json.pl

    Assure that file size is the same as on above example.

  • Helló,

    Sorry, it was my mistake...
    The logfiles has been updated!

    Thanks, i will try this patch!
  • Hello,

    I replaced the xen-xapi2json.pl file and restart the server,
    but unfortunately i can not see the Xen Server menu yet.
    Maybe i have to wait a little bit more...
  • Hello,

    thanks for the logs. The problem is that fetching data times out indeed. That should be mitigated by the aforementioned bin/xen-xapi2json.pl patch.

  • Hello,

    First of all, thank you for your help!
    After the patch, the Xen Server menu appeard in the LPAR2RRD web page.
    We see a lot of information from the Xen server,
    But... unfortunately i got an error message for some sub-pages under Xen Server menu:

    For example i got this error message in storage section:

    /home/lpar2rrd/lpar2rrd/data/XEN/3d35ef59-b57b-4918-b30c-ca6bf706a676/disk-dcee0ddd.rrd does not exist /home/lpar2rrd/lpar2rrd/bin/detail-graph-cgi.pl:25563

    As i see the "3d35ef59-b57b-4918-b30c-ca6bf706a676" folder is missing.

    We also can't generate reports from Xen Servers data.
    The xen server option is missing from the reports types.

    Do you have idea what cause the problem?
    Could you help us to find the solution in this case also?
    Thank you!
  • Glad you got it resolved.

    Now, regarding your followup:

    1. A similar storage-related issue was previously discussed in this thread. Long story short, XAPI reports existence of storage devices (including virtual) but not always corresponding performance data. You can omit certain storage types (especially ISO) from the menu using the patch suggested there. Does it affect other types of storage devices too in your case?

    2. XenServer is not currently supported by Reporter. [documentation]
  • Hello,

    We would like to export CSV or TXT file from Xen Server's data.
    Is it possible somehow?
  • Hello,

    that is not currently supported for XenServer.

  • Ok! Thank you for the information!
Sign In or Register to comment.