1 Reply Latest reply on Mar 7, 2005 3:50 PM by Dimitris Andreadis

    ThresholdMonitor for boolean?

    tomdee Newbie

      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)

      org.jboss.console.plugins.monitor.CreateStringThresholdMonitorServlet
      org.jboss.console.plugins.monitor.ManageStringThresholdMonitorServlet

      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.