I'm running monit 5.3.2 with a service that gets checked every 2 cycles. In
monit 5.3+, this means the <monitor> element varies, because it's a bit field.
On cycles when the service is checked, the value is 1, but on cycles where it
wasn't checked, the value is (0x1 | 0x4) == 5.
This patch converts the value in the <monitor> tag to an integer, then checks
whether the lowest bit is set.
Original issue reported on code.google.com by kbull...@ringworld.org on 29 Mar 2013 at 6:16
Original issue reported on code.google.com by
kbull...@ringworld.org
on 29 Mar 2013 at 6:16Attachments: