Skip to content

Instantly share code, notes, and snippets.

@yashpatil
Last active January 6, 2023 14:59
Show Gist options
  • Select an option

  • Save yashpatil/de7437522bfccfeee4cb to your computer and use it in GitHub Desktop.

Select an option

Save yashpatil/de7437522bfccfeee4cb to your computer and use it in GitHub Desktop.

Revisions

  1. yashpatil revised this gist Jul 24, 2015. 1 changed file with 20 additions and 5 deletions.
    25 changes: 20 additions & 5 deletions JolokiaCommands.md
    Original 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 attributes](#retrieve-specific-attributes-1)
    - [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/CursorMemoryUsage`
    `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-attributes-1"></a>
    ##### Retrieve specific attributes
    <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":"CursorMemoryUsage"
    "attribute":["QueueSize","CursorMemoryUsage"]
    }
    ```
  2. yashpatil revised this gist Jul 24, 2015. 1 changed file with 37 additions and 13 deletions.
    50 changes: 37 additions & 13 deletions JolokiaCommands.md
    Original 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
    * Add a queue
    <a name="add-a-queue"></a>
    ##### Add a queue
    `http://localhost:8181/hawtio/jolokia/exec/org.apache.activemq:type=Broker,brokerName=amq/addQueue/MyAwesomeQueue`
    * Purge a queue
    <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
    * Add a queue
    <a name="add-a-queue-1"></a>
    ##### Add a queue
    ```json
    {
    "type":"exec",
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq",
    "operation":"addQueue"
    "operation":"addQueue",
    "arguments":["MyAwesomeQueue"]
    }
    ```
    * Purge a queue
    <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
    * Retrieve all attributes
    <a name="retrieve-all-attributes"></a>
    ##### Retrieve all attributes
    `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq`

    * Retrieve specific attribute
    <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
    * Retrieve all attributes
    <a name="retrieve-all-attributes-1"></a>
    ##### Retrieve all attributes
    ```json
    {
    "type":"read",
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq"
    }
    ```
    * Retrieve specific attributes
    <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
    * Retrieve all attributes
    <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`

    * Retrieve specific attribute
    <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
    * Retrieve all attributes
    <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"
    }
    ```
    * Retrieve specific attributes
    <a name="retrieve-specific-attributes-1"></a>
    ##### Retrieve specific attributes
    ```json
    {
    "type":"read",
  3. yashpatil revised this gist Jul 24, 2015. 1 changed file with 55 additions and 19 deletions.
    74 changes: 55 additions & 19 deletions JolokiaCommands.md
    Original 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)
    - [Search Operation](#search-operation)
    - [GET](#get)
    - [POST](#post)
    - [Broker Attributes](#broker-attributes)
    - [Search](#search)
    - [GET](#get-1)
    - [POST](#post-1)
    - [Queue Attributes](#queue-attributes)
    - [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
    * GET
    <a name="get"></a>
    #### GET
    `http://localhost:8181/hawtio/jolokia/list`

    * POST
    <a name="post"></a>
    #### POST
    ```json
    {
    "type":"LIST"
    }
    ```

    <a name="search-operation"></a>
    ### Search Operation
    <a name="get"></a>
    <a name="search"></a>
    ### Search
    <a name="get-1"></a>
    #### GET
    ```
    http://localhost:8182/hawtio/jolokia/search/java.lang:*,
    http://localhost:8181/hawtio/jolokia/search/org.apache.activemq:*
    ```
    <a name="post"></a>
    <a name="post-1"></a>
    #### POST
    ```json
    {
    "type":"SEARCH",
    "mbean":"java.lang:*"
    "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-1"></a>
    <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-1"></a>
    <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-2"></a>
    <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=processqueue`
    `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=processqueue/CursorMemoryUsage`
    `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue/CursorMemoryUsage`

    <a name="post-2"></a>
    <a name="post-4"></a>
    #### POST
    * Retrieve all attributes
    ```json
    {
    "type":"read",
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue"
    "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=processqueue",
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=MyAwesomeQueue",
    "attribute":"CursorMemoryUsage"
    }
    ```
  4. yashpatil revised this gist Jul 23, 2015. 1 changed file with 34 additions and 9 deletions.
    43 changes: 34 additions & 9 deletions JolokiaCommands.md
    Original 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.

    ###Table of Contents
    * [List All MBeans](#list-mbeans)
    * [Search](#search-operation)
    * [Broker Attributes](#broker-attributes)
    * [Queue Attributes](#queue-attributes)
    <!-- 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 id="list-mbeans"></a> List all MBeans
    <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 id="search-operation"></a> Search Operation
    <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 id="broker-attributes"></a> Broker Attributes
    <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 id="queue-attributes"></a> Queue Attributes
    <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
  5. yashpatil revised this gist Jul 23, 2015. 1 changed file with 4 additions and 12 deletions.
    16 changes: 4 additions & 12 deletions JolokiaCommands.md
    Original 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
    <!-- 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 -->
    * [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`
  6. yashpatil revised this gist Jul 23, 2015. 1 changed file with 33 additions and 5 deletions.
    38 changes: 33 additions & 5 deletions JolokiaCommands.md
    Original 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
    * [List All MBeans](#list-mbeans)
    * [Broker Attributes](#broker-attributes)
    * [Queue Attributes](#queue-attributes)
    <!-- 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 (to url `http://localhost:8181/hawtio/jolokia`)
    #### 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 (to url `http://localhost:8181/hawtio/jolokia`)
    #### POST
    * Retrieve all attributes
    ```json
    {
  7. yashpatil revised this gist Jul 23, 2015. 1 changed file with 9 additions and 4 deletions.
    13 changes: 9 additions & 4 deletions JolokiaCommands.md
    Original 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
    #### Using GET
    #### 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`)
    #### 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
    #### Using GET
    #### 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`)
    #### POST (to url `http://localhost:8181/hawtio/jolokia`)
    * Retrieve all attributes
    ```json
    {
  8. yashpatil revised this gist Jul 23, 2015. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions JolokiaCommands.md
    Original 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)
    * [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>
    ### <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
    }
    ```

    ### Queue Attributes <a id="queue-attributes"></a>
    ### <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`
  9. yashpatil revised this gist Jul 23, 2015. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions JolokiaCommands.md
    Original 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
    ### 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
    ### 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`
  10. yashpatil revised this gist Jul 23, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion JolokiaCommands.md
    Original 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 attribute and operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html`
    Commonly used MBeans, Objects, Attribute and Operation names for ActiveMQ are available here: `http://activemq.apache.org/jmx.html`

    ### Broker Attributes
    #### Using GET
  11. yashpatil revised this gist Jul 23, 2015. No changes.
  12. yashpatil revised this gist Jul 23, 2015. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions JolokiaCommands.md
    Original 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.

    ### Broker Operations
    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 Operations
    ### Queue Attributes
    #### Using GET
    * Retrieve all attributes
    `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue`
  13. yashpatil revised this gist Jul 23, 2015. 1 changed file with 9 additions and 6 deletions.
    15 changes: 9 additions & 6 deletions JolokiaCommands.md
    Original 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:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq`
    `http://localhost:8181/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`
    `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/StorePercentUsage`

    #### Using POST
    #### 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:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue`
    `http://localhost:8181/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`
    `http://localhost:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue/CursorMemoryUsage`

    #### Using POST
    #### Using POST (to url `http://localhost:8181/hawtio/jolokia`)
    * Retrieve all attributes
    ```json
    {
  14. yashpatil revised this gist Jul 23, 2015. 1 changed file with 26 additions and 1 deletion.
    27 changes: 26 additions & 1 deletion JolokiaCommands.md
    Original 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"
    }
    ```
    ```
  15. yashpatil renamed this gist Jul 23, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  16. yashpatil revised this gist Jul 23, 2015. 1 changed file with 11 additions and 19 deletions.
    30 changes: 11 additions & 19 deletions Jolokia commands.md
    Original file line number Diff line number Diff line change
    @@ -1,32 +1,24 @@
    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:
    ### Queue Operations
    #### Using GET
    * Retrieve all attributes
    `http://localhost:8182/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue`

    GET to retrieve specific Queue attribute:
    * Retrieve specific 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:
    #### Using POST
    * Retrieve all attributes
    ```json
    {
    "type":"read",
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq",
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue"
    }
    ```

    POST to retrieve specific Broker attributes (e.g. StorePercentUsage):
    * Retrieve specific attributes
    ```json
    {
    "type":"read",
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq",
    "attribute":"StorePercentUsage"
    "mbean":"org.apache.activemq:type=Broker,brokerName=amq,destinationType=Queue,destinationName=processqueue",
    "attribute":"CursorMemoryUsage"
    }
    ```
    ```
  17. yashpatil renamed this gist Jul 23, 2015. 1 changed file with 9 additions and 5 deletions.
    14 changes: 9 additions & 5 deletions .json → Jolokia commands.md
    Original 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
    `http://localhost:8181/hawtio`

    GET to retrieve all Memory attributes:
    http://localhost:8182/hawtio/jolokia/read/java.lang:type=Memory/
    `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
    `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
    `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
    `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"
    }
    ```
  18. yashpatil created this gist Jul 23, 2015.
    28 changes: 28 additions & 0 deletions .json
    Original 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"
    }