Last active
January 6, 2023 14:59
-
-
Save yashpatil/de7437522bfccfeee4cb to your computer and use it in GitHub Desktop.
Revisions
-
yashpatil revised this gist
Jul 24, 2015 . 1 changed file with 20 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,9 +27,11 @@ Sometimes, when you are interested in very specific attributes, it's easier to k - [GET](#get-4) - [Retrieve all attributes](#retrieve-all-attributes-2) - [Retrieve specific attribute](#retrieve-specific-attribute-1) - [Retrieve more than one attribute](#retrieve-more-than-one-attribute) - [POST](#post-4) - [Retrieve all attributes](#retrieve-all-attributes-3) - [Retrieve specific attribute](#retrieve-specific-attribute-2) - [Retrieve more than one attribute](#retrieve-more-than-one-attribute-1) <!-- /MarkdownTOC --> @@ -145,7 +147,11 @@ http://localhost:8181/hawtio/jolokia/search/org.apache.activemq:* <a name="retrieve-specific-attribute-1"></a> ##### Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue/QueueSize` <a name="retrieve-more-than-one-attribute"></a> ##### Retrieve more than one attribute http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue/QueueSize,CursorMemoryUsage <a name="post-4"></a> #### POST @@ -157,12 +163,21 @@ http://localhost:8181/hawtio/jolokia/search/org.apache.activemq:* "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue" } ``` <a name="retrieve-specific-attribute-2"></a> ##### Retrieve specific attribute ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue", "attribute":"QueueSize" } ``` <a name="retrieve-more-than-one-attribute-1"></a> ##### Retrieve more than one attribute ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue", "attribute":["QueueSize","CursorMemoryUsage"] } ``` -
yashpatil revised this gist
Jul 24, 2015 . 1 changed file with 37 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,13 +11,25 @@ Sometimes, when you are interested in very specific attributes, it's easier to k - [POST](#post-1) - [Execute Operations](#execute-operations) - [GET](#get-2) - [Add a queue](#add-a-queue) - [Purge a queue](#purge-a-queue) - [POST](#post-2) - [Add a queue](#add-a-queue-1) - [Purge a queue](#purge-a-queue-1) - [Broker Attributes](#broker-attributes) - [GET](#get-3) - [Retrieve all attributes](#retrieve-all-attributes) - [Retrieve specific attribute](#retrieve-specific-attribute) - [POST](#post-3) - [Retrieve all attributes](#retrieve-all-attributes-1) - [Retrieve specific attributes](#retrieve-specific-attributes) - [Queue Attributes](#queue-attributes) - [GET](#get-4) - [Retrieve all attributes](#retrieve-all-attributes-2) - [Retrieve specific attribute](#retrieve-specific-attribute-1) - [POST](#post-4) - [Retrieve all attributes](#retrieve-all-attributes-3) - [Retrieve specific attributes](#retrieve-specific-attributes-1) <!-- /MarkdownTOC --> @@ -62,23 +74,27 @@ http://localhost:8181/hawtio/jolokia/search/org.apache.activemq:* ### Execute Operations <a name="get-2"></a> #### GET <a name="add-a-queue"></a> ##### Add a queue `http://localhost:8181/hawtio/jolokia/exec/org.apache.activemq:type=Broker,brokerName=amq/addQueue/MyAwesomeQueue` <a name="purge-a-queue"></a> ##### Purge a queue `http://localhost:8182/hawtio/jolokia/exec/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue/purge` <a name="post-2"></a> #### POST <a name="add-a-queue-1"></a> ##### Add a queue ```json { "type":"exec", "mbean":"org.apache.activemq:type=Broker,brokerName=amq", "operation":"addQueue", "arguments":["MyAwesomeQueue"] } ``` <a name="purge-a-queue-1"></a> ##### Purge a queue ```json { "type":"exec", @@ -91,22 +107,26 @@ http://localhost:8181/hawtio/jolokia/search/org.apache.activemq:* ### Broker Attributes <a name="get-3"></a> #### GET <a name="retrieve-all-attributes"></a> ##### Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` <a name="retrieve-specific-attribute"></a> ##### Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage` <a name="post-3"></a> #### POST <a name="retrieve-all-attributes-1"></a> ##### Retrieve all attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq" } ``` <a name="retrieve-specific-attributes"></a> ##### Retrieve specific attributes ```json { "type":"read", @@ -119,22 +139,26 @@ http://localhost:8181/hawtio/jolokia/search/org.apache.activemq:* ### Queue Attributes <a name="get-4"></a> #### GET <a name="retrieve-all-attributes-2"></a> ##### Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue` <a name="retrieve-specific-attribute-1"></a> ##### Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue/CursorMemoryUsage` <a name="post-4"></a> #### POST <a name="retrieve-all-attributes-3"></a> ##### Retrieve all attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue" } ``` <a name="retrieve-specific-attributes-1"></a> ##### Retrieve specific attributes ```json { "type":"read", -
yashpatil revised this gist
Jul 24, 2015 . 1 changed file with 55 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,15 +4,20 @@ Sometimes, when you are interested in very specific attributes, it's easier to k <!-- MarkdownTOC depth=5 --> - [List all MBeans](#list-all-mbeans) - [GET](#get) - [POST](#post) - [Search](#search) - [GET](#get-1) - [POST](#post-1) - [Execute Operations](#execute-operations) - [GET](#get-2) - [POST](#post-2) - [Broker Attributes](#broker-attributes) - [GET](#get-3) - [POST](#post-3) - [Queue Attributes](#queue-attributes) - [GET](#get-4) - [POST](#post-4) <!-- /MarkdownTOC --> @@ -25,43 +30,74 @@ Note: Unless specifically mentioned, all POST requests are to url `http://localh <a name="list-all-mbeans"></a> ### List all MBeans <a name="get"></a> #### GET `http://localhost:8181/hawtio/jolokia/list` <a name="post"></a> #### POST ```json { "type":"LIST" } ``` <a name="search"></a> ### Search <a name="get-1"></a> #### GET ``` http://localhost:8181/hawtio/jolokia/search/org.apache.activemq:* ``` <a name="post-1"></a> #### POST ```json { "type":"SEARCH", "mbean":"org.apache.activemq:*" } ``` <a name="execute-operations"></a> ### Execute Operations <a name="get-2"></a> #### GET * Add a queue `http://localhost:8181/hawtio/jolokia/exec/org.apache.activemq:type=Broker,brokerName=amq/addQueue/MyAwesomeQueue` * Purge a queue `http://localhost:8182/hawtio/jolokia/exec/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue/purge` <a name="post-2"></a> #### POST * Add a queue ```json { "type":"exec", "mbean":"org.apache.activemq:type=Broker,brokerName=amq", "operation":"addQueue" "arguments":["MyAwesomeQueue"] } ``` * Purge a queue ```json { "type":"exec", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue", "operation": "purge" } ``` <a name="broker-attributes"></a> ### Broker Attributes <a name="get-3"></a> #### GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage` <a name="post-3"></a> #### POST * Retrieve all attributes ```json @@ -81,28 +117,28 @@ http://localhost:8182/hawtio/jolokia/search/java.lang:*, <a name="queue-attributes"></a> ### Queue Attributes <a name="get-4"></a> #### GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue/CursorMemoryUsage` <a name="post-4"></a> #### POST * Retrieve all attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue" } ``` * Retrieve specific attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue", "attribute":"CursorMemoryUsage" } ``` -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 34 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,30 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. <!-- MarkdownTOC depth=5 --> - [List all MBeans](#list-all-mbeans) - [Search Operation](#search-operation) - [GET](#get) - [POST](#post) - [Broker Attributes](#broker-attributes) - [GET](#get-1) - [POST](#post-1) - [Queue Attributes](#queue-attributes) - [GET](#get-2) - [POST](#post-2) <!-- /MarkdownTOC --> Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` Jolokia reference: `https://jolokia.org/reference/html/protocol.html` Note: Unless specifically mentioned, all POST requests are to url `http://localhost:8181/hawtio/jolokia` <a name="list-all-mbeans"></a> ### List all MBeans * GET `http://localhost:8181/hawtio/jolokia/list` @@ -23,7 +35,14 @@ Note: Unless specifically mentioned, all POST requests are to url `http://localh } ``` <a name="search-operation"></a> ### Search Operation <a name="get"></a> #### GET ``` http://localhost:8182/hawtio/jolokia/search/java.lang:*, ``` <a name="post"></a> #### POST ```json { @@ -32,14 +51,17 @@ Note: Unless specifically mentioned, all POST requests are to url `http://localh } ``` <a name="broker-attributes"></a> ### Broker Attributes <a name="get-1"></a> #### GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage` <a name="post-1"></a> #### POST * Retrieve all attributes ```json @@ -57,14 +79,17 @@ Note: Unless specifically mentioned, all POST requests are to url `http://localh } ``` <a name="queue-attributes"></a> ### Queue Attributes <a name="get-2"></a> #### GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage` <a name="post-2"></a> #### POST * Retrieve all attributes ```json -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 4 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,18 +2,10 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JB Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. ###Table of Contents * [List All MBeans](#list-mbeans) * [Search](#search-operation) * [Broker Attributes](#broker-attributes) * [Queue Attributes](#queue-attributes) Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` Jolokia reference: `https://jolokia.org/reference/html/protocol.html` -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 33 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,16 +2,44 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JB Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. ###Table of Contents <!-- TOC depth:6 withLinks:1 updateOnSave:1 orderedList:0 --> - [<a id="list-mbeans"></a> List all MBeans](#a-idlist-mbeansa-list-all-mbeans) - [<a id="search-operation"></a> Search Operation](#a-idsearch-operationa-search-operation) - [POST](#post) - [<a id="broker-attributes"></a> Broker Attributes](#a-idbroker-attributesa-broker-attributes) - [GET](#get) - [POST](#post) - [<a id="queue-attributes"></a> Queue Attributes](#a-idqueue-attributesa-queue-attributes) - [GET](#get) - [POST](#post) <!-- /TOC --> Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` Jolokia reference: `https://jolokia.org/reference/html/protocol.html` Note: Unless specifically mentioned, all POST requests are to url `http://localhost:8181/hawtio/jolokia` ### <a id="list-mbeans"></a> List all MBeans * GET `http://localhost:8181/hawtio/jolokia/list` * POST ```json { "type":"LIST" } ``` ### <a id="search-operation"></a> Search Operation #### POST ```json { "type":"SEARCH", "mbean":"java.lang:*" } ``` ### <a id="broker-attributes"></a> Broker Attributes #### GET * Retrieve all attributes @@ -20,7 +48,7 @@ Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are av * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage` #### POST * Retrieve all attributes ```json { @@ -45,7 +73,7 @@ Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are av * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage` #### POST * Retrieve all attributes ```json { -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 9 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,20 +2,25 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JB Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. ###Table of Contents * [List All MBeans](#list-mbeans) * [Broker Attributes](#broker-attributes) * [Queue Attributes](#queue-attributes) Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` ### <a id="list-mbeans"></a> List all MBeans * GET `http://localhost:8181/hawtio/jolokia/list` ### <a id="broker-attributes"></a> Broker Attributes #### GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage` #### POST (to url `http://localhost:8181/hawtio/jolokia`) * Retrieve all attributes ```json { @@ -33,14 +38,14 @@ Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are av ``` ### <a id="queue-attributes"></a> Queue Attributes #### GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage` #### POST (to url `http://localhost:8181/hawtio/jolokia`) * Retrieve all attributes ```json { -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,12 +2,12 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JB Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. ###Table of Contents * [Broker Attributes](#broker-attributes) * [Queue Attributes](#queue-attributes) Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` ### <a id="broker-attributes"></a> Broker Attributes #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` @@ -32,7 +32,7 @@ Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are av } ``` ### <a id="queue-attributes"></a> Queue Attributes #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,13 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. ###Table of Contents [Broker Attributes](#broker-attributes) [Queue Attributes](#queue-attributes) Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` ### Broker Attributes <a id="broker-attributes"></a> #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` @@ -28,7 +32,7 @@ Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are av } ``` ### Queue Attributes <a id="queue-attributes"></a> #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` ### Broker Attributes #### Using GET -
yashpatil revised this gist
Jul 23, 2015 . No changes.There are no files selected for viewing
-
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,9 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. Commonly used attribute and operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html` ### Broker Attributes #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` @@ -26,7 +28,7 @@ Sometimes, when you are interested in very specific attributes, it's easier to k } ``` ### Queue Attributes #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 9 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,15 @@ This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console. ### Broker Operations #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage` #### Using POST (to url `http://localhost:8181/hawtio/jolokia`) * Retrieve all attributes ```json { @@ -26,12 +29,12 @@ ### Queue Operations #### Using GET * Retrieve all attributes `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` * Retrieve specific attribute `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage` #### Using POST (to url `http://localhost:8181/hawtio/jolokia`) * Retrieve all attributes ```json { -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 26 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,28 @@ ### Broker Operations #### Using GET * Retrieve all attributes `http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq` * Retrieve specific attribute `http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage` #### Using POST * Retrieve all attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq" } ``` * Retrieve specific attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq", "attribute":"StorePercentUsage" } ``` ### Queue Operations #### Using GET * Retrieve all attributes @@ -21,4 +46,4 @@ "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue", "attribute":"CursorMemoryUsage" } ``` -
yashpatil renamed this gist
Jul 23, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
yashpatil revised this gist
Jul 23, 2015 . 1 changed file with 11 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,32 +1,24 @@ ### Queue Operations #### Using GET * Retrieve all attributes `http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` * Retrieve specific attribute `http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage` #### Using POST * Retrieve all attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue" } ``` * Retrieve specific attributes ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue", "attribute":"CursorMemoryUsage" } ``` -
yashpatil renamed this gist
Jul 23, 2015 . 1 changed file with 9 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,28 +1,32 @@ Log in to Hawtio a separate window to authenticate: `http://localhost:8181/hawtio` GET to retrieve all Memory attributes: `http://localhost:8182/hawtio/jolokia/read/java.lang:type=Memory/` GET to retrieve specific Memory attribute: `http://localhost:8182/hawtio/jolokia/read/java.lang:type=Memory/HeapMemoryUsage` GET to retrieve all Queue attributes: `http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue` GET to retrieve specific Queue attribute: `http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage` POST to retrieve all Broker attributes: ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq", } ``` POST to retrieve specific Broker attributes (e.g. StorePercentUsage): ```json { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq", "attribute":"StorePercentUsage" } ``` -
yashpatil created this gist
Jul 23, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ Log in to Hawtio a separate window to authenticate: http://localhost:8181/hawtio GET to retrieve all Memory attributes: http://localhost:8182/hawtio/jolokia/read/java.lang:type=Memory/ GET to retrieve specific Memory attribute: http://localhost:8182/hawtio/jolokia/read/java.lang:type=Memory/HeapMemoryUsage GET to retrieve all Queue attributes: http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue GET to retrieve specific Queue attribute: http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage POST to retrieve all Broker attributes: { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq", } POST to retrieve specific Broker attributes (e.g. StorePercentUsage): { "type":"read", "mbean":"org.apache.activemq:type=Broker,brokerName=amq", "attribute":"StorePercentUsage" }