Here's the documentation: http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/tjmx_develop.html
The problem is that this doesn't work:
import javax.management.ObjectName as ObjectName
...
theNodeAgentName = "WebSphere:type=NodeAgent,node='app_node2',*"
test_node_name = adminClient.queryNames(ObjectName(theNodeAgentName), None)
print test_node_name
adminClient.addNotificationListener(ObjectName(theNodeAgentName),listener,None,None)
The adminClient instance can never find the node agent Mbean. Any ideas?
output:
[WebSphere:name=NodeAgent,process=nodeagent,platform=common,node=app_node2,diagnosticProvider=true,version=8.5.5.3,type=NodeAgent,mbeanIdentifier=NodeAgent,cell=my_cell,spec=1.0]
javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: Could not find WebSphere:type=NodeAgent,node='app_node2',*