https://github.com/hifly81/alert4jolokia
Adds alert capabilities to jmx metrics exposed via Jolokia.
https://github.com/hifly81/alert4jolokia
activemq alerting broker java jboss jee jmx jmx-metrics-exposed jolokia openejb rest tomee wildfly
Last synced: 8 months ago
JSON representation
Adds alert capabilities to jmx metrics exposed via Jolokia.
- Host: GitHub
- URL: https://github.com/hifly81/alert4jolokia
- Owner: hifly81
- Archived: true
- Created: 2017-02-11T07:14:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-02T18:41:40.000Z (almost 7 years ago)
- Last Synced: 2024-12-20T23:29:16.685Z (10 months ago)
- Topics: activemq, alerting, broker, java, jboss, jee, jmx, jmx-metrics-exposed, jolokia, openejb, rest, tomee, wildfly
- Language: Java
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Alert4Jolokia
=====================
Alert4Jolokia adds alert capabilities to jmx metrics exposed via Jolokia.Compile
-------------------
You need Apache Maven.From root directory open a terminal and execute:
mvn clean package
A ear file, alert4jolokia-ear will be created in alert4jolokia-ear/target folder.
Run
-------------------
alert4jolokia-ear is an enterprise application running on a JEE application server.Currently it has been tested on Wildfly 8.x/9.x/10.x
Examples
-------------------
Alerts defined so far:Heap Memory in use:
_java.lang:type=Memory --> HeapMemoryUsage;_
JBoss/Wildfly datasource number of connections in use:
_jboss.as:data-source={0},statistics=pool,subsystem=datasources --> InUseCount_
Apache TomEE datasource number of connections in use
_openejb.management:ObjectType=datasources,DataSource={0} --> NumActive_
ActiveMQ broker messages sent to the destination
_org.apache.activemq:type=Broker,brokerName={0},destinationType={1},destinationName={2} --> EnqueueCount_
ActiveMQ broker memory in use percentage
_org.apache.activemq:type=Broker,brokerName={0} --> MemoryPercentUsage_
Third-Party Libraries
--------------
apache commonshttp://commons.apache.org
slf4j
http://www.slf4j.org
License
--------------
Copyright 2016 Hifly81
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with
the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.