discover_wmq

Discovers an IBM Websphere MQ target in Oracle Enterprise Manager. IBM Websphere MQ targets include an individual IBM Websphere MQ target or IBM Websphere MQ clusters (for example, wmq_cluster or wmq).

Format

  emcli discover_wmq
      -host
      -port
      -username
      -jarpath
      [-channel]
      -agent
      [-disc_pref]
      -password
      [-debug]

[ ]  indicates that the parameter is optional.

Options

  • host

    Fully qualified name of the host or the IP address of the host on which the Webshpere MQ Queue Manager is running.

  • port

    TCP/IP listener port of the Websphere MQ Queue Manager.

  • username

    User name of the user who has access to the Websphere MQ Queue Manager.

  • jarpath

    The absolute path of the required jar files wherein each of them should be separated by colon in case of Linux and semicolon in case of Windows.

  • channel

    The name of the Server Connection Channel to be used for monitoring. The Server Connection Channel should be of type SVRCONN, for example: SYSTEM.DEF.SVRCONN.

  • agent

    Monitoring Agent.

  • disc_pref

    The value of discovery preference should be set to 'true' if the discovery has to be restricted to a single Websphere MQ Queue Manager. If it is not specified it is considered as false.

  • password

    Websphere MQ password if security is enabled.

  • debug

    If specified, runs the verb in verbose mode for debugging purposes.

Examples

Example 1

The following example discovers IBM Websphere MQ targets by specifying jarpath for Linux in Oracle Enterprise Manager.

emcli discover_wmq
  -host=host1.example.com
  -port=1416
  -username=mqm
-jarpath=/install/home/com.ibm.mq.commonservices.jar:/install/home/com.ibm.mq.headers.jar:/install/home/com.ibm.mq.jar:/install/home/com.ibm.mq.jmqi.jar:/install/home/com.ibm.mq.pcf.jar:/install/home/connector.jar
  -channel=SYSTEM.DEF.SVRCONN
  -agent=host1.example.com:12345
  -password=admin

Example 2

The following example discovers IBM Websphere MQ targets by specifying jarpath for Windows in Oracle Enterprise Manager.

emcli discover_wmq
  -host=host1.example.com
  -port=1416
  -username=mqm
-jarpath=/install/home/com.ibm.mq.commonservices.jar;/install/home/com.ibm.mq.headers.jar;/install/home/com.ibm.mq.jar;/install/home/com.ibm.mq.jmqi.jar;/install/home/com.ibm.mq.pcf.jar;/install/home/connector.jar
  -channel=SYSTEM.DEF.SVRCONN
  -agent=host1.example.com:12345
  -password=admin