I have configured my OpenNMS to collect classics indicators on multiple servers (CPU, Memory...).
Based on these collects, I would like to try to create charts like Pie Chart based one indicator but with the information coming from multiple servers.
I have done some research but it seems that is not possible with rrd request used in Jasper Report. The major reason is that we could not mix in one request the list of equipments (from postgre sql database) and their counter (from rrd). To get the list of Equipment for one indicator, two way:
- we should go through a sql request but after that, the indicators from the rrd data collected in jasper report are treated separatly by equipment. It does not seem possible to merge the result from all the equipment in one graph.
- Or we should define in the rrd request the list of rrd source (i.e. the list of equipments path) but in my case I didn't want to use fixed number of server for my request as I will add soon additionnal server in the collect.
To solve this issue, I was thinking using an xml export of rrd data using information that I have found on OpenNMS wiki: http://www.opennms.org/wiki/Data_Export
Based on this xml request, I wanted to use ireport xpath functionnality to extract my data to create my chart but I don't know where to defined the url path to use is xpath in OpenNMS
Is it possible to use xpath report in OpenNMS? If yes, Where can I defined the path to http request?