JMX_SET_ATTRIBUTE
Use the JMX_SET_ATTRIBUTE script element to set an attribute of an MBean.
Important! In the search_all= parameter of the agent's INI file, the administrator defines whether this function searches for the MBean on all local MBean servers, or only on those to which the agent is connected.
Syntax
JMX_SET_ATTRIBUTE MBEAN=...,ATTRIBUTE=...,VALUE=...
Parameters
| Parameter | Description |
|---|---|
| MBEAN= | Object name of the MBean |
| ATTRIBUTE= | Name of the attribute |
| VALUE= | Value to set for the attribute |
Examples
The following example sets the State attribute of the specified MBean to running.
JMX_SET_ATTRIBUTE ATTRIBUTE=State, MBEAN=UC4:type=StandardMBean, VALUE=running
See also: