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 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_SET_ATTRIBUTE MBEAN=..., ATTRIBUTE=..., VALUE=...

Parameters

  • JMX_SET_ATTRIBUTE
    Sets an attribute of an MBean
  • MBEAN=
    Defines the object name of the MBEAN
  • ATTRIBUTE=
    Name of the attribute
  • VALUE=
    Value to be set for the attribute  

Example

JMX_SET_ATTRIBUTE ATTRIBUTE=State, MBEAN=UC4:type=StandardMBean, VALUE=running

See also: