Question
3
Replies
103
Views
Infosys
Posted: November 14, 2018
Last activity: November 16, 2018
Closed
Need to extract listener details from SMA
Hi All, is there any API to get all the details of the listeners like listener name, last run, last finish,status etc which are under Listener Management in SMA.
Thanks,
Venkatapathi Raju.
SMA gets its information from PRPC via JMX (https://en.wikipedia.org/wiki/Java_Management_Extensions).
You can write (or use off-the-shelf) your own JMX client to extract the same information.
For example - if you run PRPC on a Windows Machine, you can run 'JConsole' (https://en.wikipedia.org/wiki/JConsole) directly on the same machine and interact with the same mbeans.
[You can do this on other operating systems; and you can do it remotely - but the case above is the simplest to do ; since you have both a UI available to you and you don't have to set up the additional security in order to gain access to the mbeans].
There are several 3rd party pre-built cmdline JMX tools available as well: see here for instance: https://github.com/jiaqi/jmxterm