JMX_GET_ATTRIBUTE
Use the JMX_GET_ATTRIBUTE script element to retrieve the value(s) of one or all the attribute(s) of an MBean.
Important! In the search_all= parameter of the INI file of the agent, the administrator can define whether this function searches the MBean on all local MBean servers, or only on those to which the agent is connected.
Syntax
JMX_GET_ATTRIBUTE MBEAN=... [, ATTRIBUTE=...]
Parameters
-
JMX_GET_ATTRIBUTE
Retrieves the values of one or all attributes of an MBean -
MBEAN=
Defines the object name of the MBean -
ATTRIBUTE=
(Optional) Retrieves the name of the attribute. The values of all MBean attributes are retrieved if you do not use this parameter.
Example
JMX_GET_ATTRIBUTE MBEAN="Catalina:type=GlobalRequestProcessor,name=http-80", ATTRIBUTE=processingTime
See also: