Re: Page Sequence Monitor to monitor a flash based website

David Hustace <[email protected]> Tue, 8 Jan 2019 07:34:27 -0500
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
--===============4305073326967260233==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_F9768F52-E61B-43F5-B772-1A1C7B22ED95";
	protocol="application/pgp-signature";
	micalg=pgp-sha256


--Apple-Mail=_F9768F52-E61B-43F5-B772-1A1C7B22ED95
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On Jan 7, 2019, at 21:43, JohnD Blackburn <[email protected]> =
wrote:
>=20
> 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=3D"1.0" encoding=3D"utf-8"?>
<color name=3D"Horizon">
  <red>96</red>
  <green>155</green>
  <blue>80</blue>
</color>


Try this:


<service name=3D"colortest" interval=3D"30000" user-defined=3D"true" =
status=3D"on">
  <parameter key=3D"retry" value=3D"1"/>
  <parameter key=3D"timeout" value=3D"5000"/>
  <parameter key=3D"rrd-repository" =
value=3D"/opt/opennms/share/rrd/response"/>
  <parameter key=3D"ds-name" value=3D"colortest"/>
  <parameter key=3D"page-sequence">
    <page-sequence>
      <page path=3D"/colortest"
            port=3D"80"
            method=3D"POST">
        <parameter key=3D"color" value=3D"&lt;?xml =
version=3D&quot;1.0&quot; encoding=3D&quot;utf-8&quot;?&gt;&lt;color =
name=3D&quot;Horizon&quot;&gt;&lt;red&gt;96&lt;/red&gt;&lt;green&gt;155&lt=
;/green&gt;&lt;blue&gt;80&lt;/blue&gt;&lt;/color&gt;"/>
      </page>
    </page-sequence>
  </parameter>
</service>





David Hustace
The OpenNMS Group, Inc.

--Apple-Mail=_F9768F52-E61B-43F5-B772-1A1C7B22ED95
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIzBAEBCAAdFiEEM8HVsB3Payb01u1DmyrG1LpC+MIFAlw0mNMACgkQmyrG1LpC
+MJr5Q/+N6p7xRqucIMvnJPcx1D0mrWjCdMwlhZp+jGJrwX6mmNTCZTYkPTdvSPh
WuTkf+EOBdAUse5VHpFXLeiZmGr46U210I8sUp+GWWoy7iifMdT4XcxoSvaTtZaS
W4/DZQQ+QigxFXd0fXSye9auqkBjkpPa9sIV2Q9SMHMl+FNkF2aZU9i30P5NL391
Bh+J5dn2RVUSLIO3igW52P2j7bDQhC8SzIOyw+d2abCLUewTUatPA4Ap/wQ4F12d
8U6ysvgEEfhpbqN8IBJs6Pah9dpxxBOXN/PXui0GFK/7z5B9oPzmAIRMdsyUeizj
wK8oNlmpFumyLT4nAL6h2TeQ1RCxhB6eE6Soy1hB+CKj8KIhhLiZRog7RUrR1riO
lhOo9yR/khE9P2M2587j4LuIMTFg3uAV4VuwZkqKJ+RZjz1Ao4rPWEvfzM1wRkOk
T/kv+g2PtZVesgIOgEa3fuqxdoj7AbM134/Zf8pQwBpfq+8qbpYDDl6WwQFF2Q6R
f/abg2lAuTk3LOl+kBDqJNT8JMH8qOfjrrdMN4vAq5txk9aMhodn/TICVYumU1H/
+sQ9lXEAYqXOJrB75z3OFr/M4Mm4C1cq6WT4RmVCagKf25piFH/LOs6HCFLXauHy
/MobETUnxeai+JyPy+mqKGqJv0M+TjWnH/xi4zvtA/nYOGvJy2o=
=JWSV
-----END PGP SIGNATURE-----

--Apple-Mail=_F9768F52-E61B-43F5-B772-1A1C7B22ED95--


--===============4305073326967260233==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4305073326967260233==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

________________________________________________________________
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
--===============4305073326967260233==--