Write a custom OEJMX query to get agents
- Last Updated: August 18, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Use OEJMX with the -Q
filepathname
parameter to use a custom query file. A query file may have multiple queries. Each
MBean query is a JSON string having MBean identifier and attribute or operation information. The
query format is:
-
O— ObjectName is a JsonObject -
M— Operation is a JsonArray -
A— Attribute is a JsonObject (optional)
In List available MBeans to locate AgentManager details, steps are provided
to list the available beans. From that list, the operations and attributes for the AgentManager
are identified. To collect information about the agents, create a custom OEJMX query file using
getAgents for the default oepas1
instance. To write a custom OEJMX query, complete these steps: