Querying scheduled outages via ReST
JohnD Blackburn <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <VI1PR0602MB29116EAF77927FE4A186FE71CB600@VI1PR0602MB2911.eurprd06.prod.outlook.com> |
I was wanting to report on scheduled outages via the ReST API, and I can see how to get the outages and display their times, and the nodeid's but I can't see how to display the collectd/pollerd/threshd packages or notifd that the outages have been linked to.
I can modify and remove packages, but I'd like to be able to query them
PUTs (Modifying Data)
/sched-outages/{outageName}/collectd/{package} to add a specific outage to a collectd's package.
/sched-outages/{outageName}/pollerd/{package} to add a specific outage to a pollerd's package.
/sched-outages/{outageName}/threshd/{package} to add a specific outage to a threshd's package.
/sched-outages/{outageName}/notifd to add a specific outage to the notifications.
DELETEs (Removing Data)
/sched-outages/{outageName} to delete a specific outage.
/sched-outages/{outageName}/collectd/{package} to remove a specific outage from a collectd's package.
/sched-outages/{outageName}/pollerd/{package} to remove a specific outage from a pollerd's package.
/sched-outages/{outageName}/threshd/{package} to remove a specific outage from a threshd's package.
/sched-outages/{outageName}/notifd to remove a specific outage from the notifications.
Is there something that isn't documented? Or should I be raising an issue for this?
Regards,
John
[ABB logo]
John Blackburn
Solution Architect - Cloud Services
Enterprise Software
Level 1, 757 Ann Street
Fortitude Valley, Queensland, 4006
AUSTRALIA
Phone: +61 7 33033219
Mobile: +61 403 344 524
E-Mail: [email protected]<mailto:[email protected]>
www.abb.com<http://www.abb.com/>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
image001.gif
(image/gif, 2.9 KB) - not displayed