Re: Page Sequence Monitor to monitor a flash based website
JohnD Blackburn <[email protected]> Tue, 8 Jan 2019 22:28:42 +0000
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <AM6PR0602MB338196DEF27E5DFFF3B2BC3ACB8A0@AM6PR0602MB3381.eurprd06.prod.outlook.com> |
Thanks David, I'll give that a go. - John Blackburn -----Original Message----- From: David Hustace <[email protected]> Sent: Tuesday, 8 January 2019 10:34 PM To: DiscussionList List <[email protected]> Subject: Re: [opennms-discuss] Page Sequence Monitor to monitor a flash based website CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > On Jan 7, 2019, at 21:43, JohnD Blackburn <[email protected]> wrote: > > After speaking with the application developers, it is possible to bypass the flash requirement, however an XML payload needs to be passed with the POST commands. Is it possible to do this with the PSM? The following *might* work. Say you wanted to POST the following XML color document: <?xml version="1.0" encoding="utf-8"?> <color name="Horizon"> <red>96</red> <green>155</green> <blue>80</blue> </color> Try this: <service name="colortest" interval="30000" user-defined="true" status="on"> <parameter key="retry" value="1"/> <parameter key="timeout" value="5000"/> <parameter key="rrd-repository" value="/opt/opennms/share/rrd/response"/> <parameter key="ds-name" value="colortest"/> <parameter key="page-sequence"> <page-sequence> <page path="/colortest" port="80" method="POST"> <parameter key="color" value="<?xml version="1.0" encoding="utf-8"?><color name="Horizon"><red>96</red><green>155</green><blue>80</blue></color>"/> </page> </page-sequence> </parameter> </service> David Hustace The OpenNMS Group, Inc. ________________________________________________________________ Note that this mailing list is not as active as other resources. Visit https://opennms.discourse.group/ for the forum, and visit https://chat.opennms.com for real-time chat. ________________________________________________________________ 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