Comments
-
Hello, that is not currently supported for XenServer.
-
Glad you got it resolved. Now, regarding your followup: * 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…
-
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, 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?…
-
Hello, can you check, if the data is getting downloaded and stored in the first place? Specifically, * are there RRD files in lpar2rrd/data/XEN and lpar2rrd/data/XEN_VMs? * is there a non-empty lpar2rrd/data/XEN_iostats/conf.json file? Can you send us logs to look into it? cd…
-
Hello, thank you for the information. If you use the following patch, any storages that are omitted in Configuration (mainly ISO) will be omitted from newly created menu too (file tmp/menu_xenserver.json; if you delete it, you can immediately force creating it anew by calling ./load.sh html in the…
-
Hello, does the XCP-ng Tools ISOs storage (or any storage in the menu whose graphs do not show like this) have a corresponding RRD file anywhere in data/XEN/? It might be that the storage is <shared> on the XAPI-side, but only some hosts actually report its performance metrics. More generally, it would…
-
Hello, can you try the following patch? It restructures some of the queries over SSH to reduce overhead. https://download.lpar2rrd.com/patch/7.21-2-9-g2336e/xen-xapi2json.pl.gz Gunzip it and copy to /home/lpar2rrd/lpar2rrd/bin (755, lpar2rrd owner) -rwxrwxr-x 1 lpar2rrd lpar2rrd…
-
I suspect there is a problem with fetching or merging the configuration data (will post an update). For the record, what XCP-ng version do you use?
-
Thank you for the details. The crucial file for creating a XenServer menu is data/XEN_iostats/conf.json which exists; can you check if it isn't effectively empty? (No need to paste the contents here if it has necessary data, because it would be too large and contain details about your setup.) A backup copy should be…
-
Hello, * when you run the Connection test, does it succeed? * corresponding menu folder appears only after (1) data have been fetched from the host (load_xenserver.sh) and then (2) the new menu has been created (load.sh or load.sh html respectively); these scripts are scheduled in crontab and so it may take a…
-
Hi, that is good to hear. Based on the provided logs, I figured that a new menu had not been created yet. If you want to speed things up, you can run ./load.sh html in the LPAR2RRD directory to force menu updates.
-
Hi, do you use XorMon, or only LPAR2RRD? In LPAR2RRD itself, performance data is retained for 3 months since the last update, and the item is included in the menu as long as it is reported by any host, such as another host in the pool, even if you are not fetching data from it directly (it is not set up…
-
Hello, if I understand it correctly, you have both performance (RRD files) and configuration (conf.json) data for all hosts, but some are missing from the LPAR2RRD menu, is that right? Can you send us logs to look into it? cd /home/lpar2rrd/lpar2rrd # or where is your LPAR2RRD working…
-
Hello, the problem with displaying graphs in XorMon is fixed in the current release: https://www.lpar2rrd.com/download-static/lpar2rrd-7.05-13.tar Note that there may remain some issues with hypertext links in oVirt config table, legends etc. Those will be resolved in a future release.
-
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.
-
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…
-
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
-
Hi Daniel, if you look in the XEN_iostats/json directory, you can see that one host reports empty performance data (the corresponding file is only ca. 8.5 kB in size). Apply this patch (follow the instructions below) to skip such incomplete performance files:…
-
Hello, this might be a problem with the connection or fetching data from XenServers. Have you configured connection to XenServer host(s) according to installation instructions (tab XenServer/Citrix)? Can you post the output of Connection Test (and/or run the corresponding sshtest.sh command suggested by the…
-
Because the test has failed now, but previously did not, is there any chance that anything about your configuration has changed? (user credentials, some network settings) Either way, can you try with the latest LPAR2RRD? It is available here: https://www.lpar2rrd.com/download/lpar2rrd-6.10-2.tar…
-
So, load_xenserver.sh fetches data and saves them to JSON files in data/XEN_iostats/ fine, but the connection test fails? Can you run bin/sshtest.sh (with the XenServer host's IP/hostname and path to SSH key as parameters) from the command line (as user lpar2rrd) to see what happens then?
-
Hello, unfortunately, it turns out that users with the Read-Only role can access XAPI output, but not on the XenServer host over SSH; Pool-Admin role is required for that (see the conclusions in this thread). Solution would be avoiding ssh access, it could be potentially possible as we recently…
-
I see. Can you check if you have a non-empty file data/XEN_iostats/conf.json? If not, do you have JSON file(s) at least in data/XEN_iostats/metadata/? If these JSON files are missing, there is a problem with the SSH connection. In that case, please, try a new patch from the same address as above.…
-
Well, that generally should not be a problem, if the load_xenserver.sh script manages to save XAPI data to the lpar2rrd/data/XEN* directories; the data will appear in the UI as soon as load.sh runs (every hour on most setups) or you can force menu generation by running ./load.sh html in the lpar2rrd/ directory.
-
Hello, that is not intended behavior. Please, use the patch available here: https://download.lpar2rrd.com/patch/xen-xapi2json.pl.gz Gunzip it and copy to /home/lpar2rrd/lpar2rrd/bin (755, lpar2rrd owner) -rwxrwxr-x 1 lpar2rrd lpar2rrd 13564 18. říj 10.09 xen-xapi2json.pl If…
-
Hello, have you configured connection to XenServer host(s) according to installation instructions (tab XenServer/Citrix)? Can you post the output of Connection Test (and/or run the corresponding sshtest.sh command suggested by the Connection test output window)?
-
It appears that the local user corresponding to the subject does not exist. I see that you have tried to change the subject role to Pool-Admin, but apparently without any effect. Did you remove the previous role beforehand, as the "To change the RBAC role of a subject" documentation section suggests?
-
Thank you for clarification, Alex. Can you log in as the new user lpar2rrd at all? I mean in local console or su - lpar2rrd, when you are already logged in (probably as root).
-
LPAR2RRD requires the following user-account credentials to fetch data from a XenServer host: * user name * password (to fetch performance data over HTTP(S)) * SSH key (to fetch configuration data over SSH) Depending on your LPAR2RRD environment (whether it runs in an appliance, or not), authorization…
Howdy, Stranger!