there are 2 threshold monitors in 3.2.6 (String and int?)
is there an equivalent one for boolean? we have need to monitor the status of the masternode transition in the HA environment. The isMasterNode() from the HASingletonDeployer returns a boolean and it seems that the JMX-COnsole and/or web-console doesn't support boolean threshold monitor
I was thinking of writing a plugin servlet (similar to the default String monitor)
and the associated JSP pages for web-console/jmx-console.
Is that the correct approach? i'd be happy to send back the working code if someone can tell me whether or not i am heading in the rigt direction.
I had a quick look and you are probably right. There is no monitor for booleans, so if you make one I'll commit it. Open a new feature JIRA tasks. Thanks!