I'm seeing an error from my parsing of monit's XML status output because
I'm trying to parse a minus 1 (or negative one for Google's benefit)
into an unsigned integer. However, I can't figure out which value is -1.
It happens when a service is fails the HTTP protocol test. One of the
XML fields returns -1, but I'm not sure which. Can anyone tell me which
field it is?
I tried grabbing the XML just now as I saw the error come in, but I was
a half second too late! I could set up a script to grab the XML every
minute from cron or whatever, but I figured I'd ask here first, and see
if anyone knows.
Thanks in advance if you can save me a few hours of debugging.
Cheers - Callum.
--
Callum Macdonald
DE: +49 1573 245 1224
UK: +44 7968 378 810
US: +1 815 246 2207
www.callum-macdonald.com
For avoidance of doubt: This email does not constitute permission to add me to
your mailing list.
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general