Welcome to Questions - Ask OpenNMS, where you can ask questions and receive answers from other members of the community.

How can I retrieve different attributes like Storage Disk Utilization from the REST API for OpenNMS? [closed]

0 votes

I am fairly new to OpenNMS. Currently I am in the process of creating a simplified dashboard for all the nodes that I have configured. I plan on monitoring the cpu utilization and the memory availability on all the nodes. To do this, I am using the REST Api of OpenNMS. For the cpu utilization, I am able to get the stats using the following url :


From https://wiki.opennms.org/wiki/ReST#Measurements_API, I was able to get the basic url as :


However, I can't seem to determine the url for getting the memory available on the various disk drives (C:\\,D:\\,etc...)

How do I get the memory utilization and other such performance metrics for a node?

OpenNMS version
Java version
Operating system
Windows 7
closed with the note: Solved it on my own
asked Aug 11, 2017 by zaederex (200 points)
closed Aug 11, 2017 by zaederex
Next time it would be nice to provide the answer, so other users who may have the same problem don't have to figure the solution out by themselves (-:
would look something like this :

/measurements/node[" + id
                        + "].hrStorageIndex[PhysicalMemory]/hrStorageUsed?start=" + startTime