Details
-
Enhancement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
18.0.0
-
None
-
Security Level: Default (Default Security Scheme)
Description
I need to be able to determine what graphs are available for a particular IP or SNMP interface from the REST API.
I am able to get the interfaces but currently the only options I found for determining what graphs were available was to
- make a request for every possible graph and see which do not return a 404
- scrape the html of "/opennms/graph/results.htm?reports=all&resourceId=node[XXX].interfaceSnmp[YYY]" looking for the graph urls and parsing the 'reports' url params
Both of these are far from ideal!
I'm thinking a new endpoint along the lines of
- /opennms/rest/nodes/
{nodeId}
/ipinterfaces/
{ipInterface}/reports
If this is already possible, sorry I've looked and couldn't find it anywhere.
Attachments
Issue Links
- mentioned in
-
Page Loading...