There is a private API method executeMbeanOperation. See activity executeMbeanOperation in AESRemote ruleset for example code. You can use MBEAN operation ListenerStatus() to pass to executeMbeanOperation. Example:
String result = (String)com.pega.pegarules.priv.management.MBeanManagement.executeMBeanOperation(
"com.pega.pegarules.management.internal.ListenerManagement", "ListenerStatus", null, null, null);
Can we call this mbean opertaion and get status of listeners running in a different node. For exmaple, we have 4 nodes and mbean opertaion is executed from a activity from the first node. Now we want to get the status of listners that are running in other 3 nodes. Appreciate your inputs.