1 Reply Latest reply on Jan 20, 2011 1:09 PM by Peter Johnson

    Logging jmx-console use

    Earnest Dyke Novice

      Greetings all,


      I have been handed a requirement to track who is using the jmx-console. Specifically, I need to know the user id of the person, which MBeans they access and which methods they execute on those MBeans. Anyone have any ideas on how to accomplish this?


      Thanks in advance for any and all relevent responses.



        • 1. Logging jmx-console use
          Peter Johnson Master

          There is no setting in JBoss AS that will give you this.


          However, you have the jmx-console source and you could easily add that functionality to it (once you get over how ugly the code is - JSPs with embedded server-side script - yuck!).


          But I have a question - are you concerned only with jmx-console access to mbeans? What if I used twiddle to invoke an mbean's method - would you want that monitored also? In that case, providing the functionality within jmx-console would not be sufficient - you would really have to add the monitoring to the JMX Server.