The URL statement specifies the URL to connect to the JMX server in a JMX job.
Supported Job Types
This statement is required for the following job types:
Syntax
This statement has the following format:
URL url
Specifies the URL to connect to the JMX server using an RMI connector. The format is the following:
service:jmx:rmi:///jndi/rmi://hostName:portNum/jmxServerName
Specifies the host name or IP address of the JMX server.
Specifies the port number of the JMX server.
Specifies the name of the JMX server.
Limits: Up to 1024 characters; case-sensitive
Example: service:jmx:rmi:///jndi/rmi://localhost:9999/server
Note: Enclose values that contain delimiters (such as spaces) in double quotation marks.
Example: Query a JMX Server for the Value of an MBean Attribute
Suppose that you want to know the value of the cachesize attribute for the Config MBean. The URL for the JMX server is service:jmx:rmi:///jndi/rmi://localhost:9999/server, where localhost is the host name and 9999 is the port number.
AGENT APPAGENT URL service:jmx:rmi:///jndi/rmi://localhost:9999/server MBEAN 'DefaultDomain:index=1,type=Config' ATTRIBUTE cachesize
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|