[jboss-user] [Datasource Configuration] - Re: Is there a org.jboss.monitor.ThresholdMonitor equivalent for JBoss AS7 Datasources ?

Ed Roberts do-not-reply at jboss.com
Wed Sep 5 10:40:08 EDT 2012


Ed Roberts [https://community.jboss.org/people/ejroberts] created the discussion

"Re: Is there a org.jboss.monitor.ThresholdMonitor equivalent for JBoss AS7 Datasources ?"

To view the discussion, visit: https://community.jboss.org/message/758089#758089

--------------------------------------------------------------
Oops.

<!-- Generate a warning if there are less than two connections left -->
<mbean code="org.jboss.monitor.ThresholdMonitor"

    name="X.MX:service=ThresholdMonitor,name=DefaultDS-ConnectionPool">

    <attribute name="MonitorName">DefaultDS-ConnectionPool</attribute>

    <depends optional-attribute-name="ObservedObject">jboss.jca:name=DefaultDS,service=ManagedConnectionPool</depends>
    <attribute name="ObservedAttribute">AvailableConnectionCount</attribute>

    <depends-list optional-attribute-name="AlertListeners">
        <depends-list-element>X.MX:service=JmxNotificationListener</depends-list-element>
    </depends-list>

    <attribute name="Threshold">2</attribute>
    <attribute name="Period">60</attribute>
    <attribute name="CompareTo">1</attribute>
    <attribute name="Enabled">true</attribute>

</mbean>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/758089#758089]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120905/4a0545b8/attachment-0001.html 


More information about the jboss-user mailing list