Previous Topic: Defining JMX-MBean Create Instance JobsNext Topic: Defining JMX-MBean Remove Instance Jobs


Defining JMX-MBean Operation Jobs

You can define a JMX-MBean Operation (JMXO_JOB) job to invoke an operation on an MBean. You can specify one or more parameter values to pass to the operation. You can specify a success pattern to determine the job's success or failure. If the operation's output matches the success pattern, the job completes successfully; otherwise, it fails.

Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows and CA WA Agent for Application Services.

Required Statements

To define a JMX-MBean Operation job, you must specify the following statements:

Optional Statements

You can specify the following optional statements for a JMX-MBean Operation job:

Example: Invoke an Operation on an MBean

Suppose that you want to invoke the resetmem operation on the Config MBean to reset the value of the memory parameter to 50.

AGENT APPAGENT
URL service:jmx:rmi:///jndi/rmi://localhost:9999/server
MBEAN 'DefaultDomain:index=1,type=Config'
OPERATION resetmem
PARAMETER TYPE(Integer) VALUE(50)