[Xymon] [PATCH] Fix summary messages when using https

Davíð Steinn Geirsson david at basis.is
Wed May 14 16:58:53 CEST 2014


Hi all,

Please see the attached patch. When sending summary status to an
upstream xymon daemon, the given URL sent to the upstream xymon is
parsed to find the page. The parsing assumes xymon is served over http,
and if another URI scheme is given, the parsing will fail, xymon will
find the NULL page and always return red.

It would be better to implement a real generic URI scheme parser, since
the protocol used is really just an implementation detail, and should
not matter to xymon. But this simple patch works for me, by adding
another special case for https.

-- 
Bestu kveðjur / Best regards
Davíð Steinn Geirsson
Basis ehf | Síðumúli 32 | (+354) 575-0400
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xymon_summary_support_https.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140514/3a89d028/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140514/3a89d028/attachment.sig>


More information about the Xymon mailing list