Configuration and Discovery

Download this manual as a PDF file

This section describes how to configure and discover IBM MQ messaging systems for monitoring by Skylar One using the "IBM: MQPowerPack.

Prerequisites for Monitoring IBM MQ

To configure the Skylar One system to monitor IBM MQ messaging systems using the "IBM: MQPowerPack, you must first perform the following: 

Installing the IBM MQ PowerShell Snap-In for Monitoring on Windows Servers

NOTE: Users monitoring MQ on Linux servers do not need to perform these steps.

NOTE: On 64-bit versions of Microsoft Windows, both 32-bit and 64-bit versions of Windows PowerShell are installed. Skylar One's collection processes using Windows PowerShell will default to using the version of powershell.exe whose folder exists first in the PATH environment variable. Because this will vary from system to system, these steps ensure the WebSphereMQ.dll file is registered for both Windows PowerShell environments.

  1. Download the Windows PowerShell library package (mo74.zip) for IBM MQ.
  2. Extract the contents of the zip file to your Windows server, and find the "manual" subfolder from the extracted files (under the mo74_v2.0.1_x86_x64 folder). Create a new folder on your desktop and move the files in the "manual" subfolder to that folder.
  3. Register the IBM WebSphere MQ library for use by both 32-bit and 64-bit Windows PowerShell. To do this:

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\installutil <Directory where WebsphereMQ.dll resides>\WebSphereMQ.dll

 

%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\installutil <Directory where WebsphereMQ.dll resides>\WebSphereMQ.dll

 

  1. Open your Windows PowerShell console and add the WebSphere MQ for PowerShell snap-in by running the following command:

Add-PSSnapin IBM.PowerShell.WebSphereMQ

Disabling Concurrent SSH Collection

Be advised, concurrent SSH collection is not supported with this PowerPack and should not be enabled. Concurrent SSH collection is disabled by default.

To disable concurrent SSH collection:

Creating a Credential for IBM: MQ Guided Discovery

To allow Skylar One to discover IBM MQ messaging systems with guided discovery, you must first create a IBM: MQ credential. This credential allows the Dynamic Applications in the "IBM: MQPowerPack to connect with an IBM MQ system.

NOTE: This IBM: MQ credential should only be used with IBM: MQ guided discovery.

To configure a credential to access an IBM: MQ system for guided discovery:

  1. Go to the Credentials page (Manage > Credentials).
  2. Click the Create New button and select Create Ibm mq Credential. The Create Credential modal page appears.
  3. Enter values in the following fields:

Image of the IBM: MQ universal credential creation window

  1. Click Save & Close.

Creating a PowerShell Credential for IBM MQ on Windows Systems

To configure Skylar One to monitor IBM MQ messaging systems on Windows systems, you must first create a PowerShell credential. This credential allows the Dynamic Applications in the "IBM: MQPowerPack to connect with an IBM MQ system.

The PowerPack includes an example PowerShell credential that you can edit for your own use.

NOTE: If you are using a Skylar One system prior to version 11.1.0, the new user interface does not include the Duplicate option for sample credential(s). ScienceLogic recommends that you use the classic user interface and the Save As button to create new credentials from sample credential(s). This will prevent you from overwriting the sample credential(s).

To configure a PowerShell credential to access an IBM MQ system:

  1. Go to the Credentials page (Manage > Credentials).
  2. Locate the IBM MQ PowerShell - Example sample credential, click its Actions icon () and select Duplicate. A copy of the credential, called IBM MQ PowerShell - Example copy appears.
  3. Click the Actions icon () for the IBM MQ PowerShell - Example copy credential and select Edit. The Edit Credential modal page appears.
  4. Supply values in the following fields:

The following fields reflect fields that appear in generic PowerShell credentials and might not yet appear in the IBM MQ PowerShell - Example copy credential.

  1. Click Save & Close.

Creating a PowerShell Credential for IBM MQ on Windows Systems in the Classic Skylar One User Interface

To configure Skylar One to monitor IBM MQ messaging systems on Windows systems, you must first create a PowerShell credential. This credential allows the Dynamic Applications in the "IBM: MQPowerPack to connect with an IBM MQ system.

The PowerPack includes an example PowerShell credential that you can edit for your own use.

To configure a PowerShell credential to access an IBM MQ system:

  1. Go to the Credential Management page (System > Manage > Credentials).
  2. Locate the IBM MQ PowerShell - Example credential, then click its wrench icon (). The Edit PowerShell Credential modal page appears.
  3. Complete the following fields:
  1. Click the Save As button.

Creating an SSH/Key Credential for IBM MQ on Linux Systems

To configure Skylar One to monitor IBM MQ messaging systems on Linux systems, you must first create an SSH/Key credential. This credential allows the Dynamic Applications in the "IBM: MQPowerPack to connect with an IBM MQ system.

The PowerPack includes an example SSH/Key credential that you can edit for your own use.

NOTE: If you are using a Skylar One system prior to version 11.1.0, the new user interface does not include the Duplicate option for sample credential(s). ScienceLogic recommends that you use the classic user interface and the Save As button to create new credentials from sample credential(s). This will prevent you from overwriting the sample credential(s).

To configure an SSH/Key credential to access an IBM MQ system:

  1. Go to the Credentials page (Manage > Credentials).
  2. Locate the IBM MQ SSH - Example sample credential, click its Actions icon () and select Duplicate. A copy of the credential, called IBM MQ SSH - Example copy appears.
  3. Click the Actions icon () for the IBM MQ SSH - Example copy credential and select Edit. The Edit Credential modal page appears.

An image of the Edit Credential page.

  1. Supply values in the following fields:

The private key can have a maximum of 64 characters per line. Therefore, you cannot use keys in the OpenSSH format, because that format uses 70 characters per line. When you attempt to save the credential, Skylar One will validate that the private key entered is in the correct format. You will be able to save the credential only if the private key is correctly formatted.

  1. Click Save & Close.

Creating an SSH/Key Credential for IBM MQ on Linux Systems in the Skylar One Classic User Interface

To configure Skylar One to monitor IBM MQ messaging systems on Linux systems, you must first create an SSH/Key credential. This credential allows the Dynamic Applications in the "IBM: MQPowerPack to connect with an IBM MQ system.

The PowerPack includes an example SSH/Key credential that you can edit for your own use.

To configure an SSH/Key credential to access an IBM MQ system:

  1. Go to the Credential Management page (System > Manage > Credentials).
  2. Locate the IBM MQ SSH - Example credential, then click its wrench icon (). The Edit SSH/Key Credential modal page appears:
  3. Complete the following fields:

The private key can have a maximum of 64 characters per line. Therefore, you cannot use keys in the OpenSSH format, because that format uses 70 characters per line. When you attempt to save the credential, Skylar One will validate that the private key entered is in the correct format. You will be able to save the credential only if the private key is correctly formatted.

  1. Click the Save As button.

Creating a SOAP/XML Credential for IBM MQ on AIX and Linux Systems

To configure Skylar One to monitor IBM MQ messaging systems on your AIX and Linux systems, you must first create a SOAP/XML credential. This credential allows the Dynamic Applications in the "IBM: MQPowerPack to connect with an IBM MQ system.

NOTE: You are only required to create SOAP/XML credential for your Linux system if you want to utilize the Kornshell and sudo commands.

The PowerPack includes an example SOAP/XML credential that you can edit for your own use.

NOTE: If you are using a Skylar One system prior to version 11.1.0, the new user interface does not include the Duplicate option for sample credential(s). ScienceLogic recommends that you use the classic user interface and the Save As button to create new credentials from sample credential(s). This will prevent you from overwriting the sample credential(s).

To configure a SOAP/XML credential to access an IBM MQ system:

  1. Go to the Credentials page (Manage > Credentials).
  2. Locate the IBM MQ SOAP - Example sample credential, click its Actions icon () and select Duplicate. A copy of the credential, called IBM MQ SOAP - Example copy appears.
  3. Click the Actions icon () for the IBM MQ SOAP - Example copy credential and select Edit. The Edit Credential modal page appears.

An image of the Edit Credential page.

  1. Supply values in the following fields:

HTTP Headers

  1. For all remaining fields, use the default values.
  2. Click Save & Close .

Creating a SOAP/XML Credential for IBM MQ on AIX and Linux Systems in the Classic Skylar One User Interface

To configure Skylar One to monitor IBM MQ messaging systems on your AIX and Linux systems, you must first create a SOAP/XML credential. This credential allows the Dynamic Applications in the "IBM: MQPowerPack to connect with an IBM MQ system.

The PowerPack includes an example SOAP/XML credential that you can edit for your own use.

To configure a SOAP/XML credential to access an IBM MQ system:

  1. Go to the Credential Management page (System > Manage > Credentials).
  2. Locate the IBM MQ SOAP - Example credential, then click its wrench icon (). The Edit SOAP/XML Credential modal page appears.
  3. Complete the following fields:

Basic Settings

HTTP Headers

  1. Click the Save As button.

IBM: MQ Guided Discovery

You can use the Guided Discovery Framework process in Skylar Oneto guide you through a variety of existing discovery types in addition to traditional SNMP discovery. This process, which is also called "guided discovery", lets you choose a discovery type based on the type of devices you want to monitor. The Guided Discovery workflow includes a button for IBM: MQ.

To run a Guided Discovery:

  1. On the Devices page () or the Discovery Sessions page (Devices > Discovery Sessions), click the Add Devices button. The Select page appears.

Image of the Discovery start page

  1. Select the IBM button. Then select the IBM: MQ radio button. Additional information about the requirements for device discovery appears in the General Information pane to the right.

  1. Click Select. The Credential Selection page appears.

Only credentials created for guided discovery will display on the Credential Selection page, and you can only use those credentials for guided discovery.

Image of the Credential Selection page

During the guided discovery process, you cannot click Next until the required fields are filled on the page, nor can you skip to future steps. However, you can revisit previous steps that you have already completed.

  1. On the Credential Selection page of the guided discovery process, select the IBM: MQ credential that you configured, and then click Next. The Root Device Details page appears.

Image of the Root Device Details page

  1. Complete the following fields:

  1. Click Next. Skylar One creates the IBM: MQ root device with the appropriate Device Class assigned to it and aligns the relevant Dynamic Applications. The Final Summary page appears.

Image of the Final Summary page

  1. Click Close.

The results of a guided discovery do not display on the Discovery Sessions page (Devices > Discovery Sessions).

Discovering IBM MQ Component Devices Using Unguided Discovery

To discover an IBM MQ messaging system:

  1. On the Devices page () or the Discovery Sessions page (Devices > Discovery Sessions), click the Add Devices button. The Select page appears:

Image of the Add Devices wizard, page 1

  1. Click the Unguided Network Discovery button. Additional information about the requirements for discovery appears in the General Information pane to the right.
  1. Click Select. The Add Devices page appears.
  2. Complete the following fields:

  1. Click Next. The Credentials page of the Add Devices wizard appears:

Image of the Add Devices wizard, page 2

  1. On the Credentials page, locate and select the PowerShell, SOAP/XML, or SSH/Key credential you created for the IBM MQ system.
  1. Click Next. The Discovery Session Details page of the Add Devices wizard appears:

Image of the Add Devices wizard, page 2

  1. Complete the following fields:

In the Advanced options section, click the down arrow icon () to complete the following fields:

  1. Click Save and Run if you enabled the Run after save setting, or Save and Close to save the discovery session. The Discovery Sessions page (Devices > Discovery Sessions) displays the new discovery session.
  2. If you selected the Run after save option on this page, the discovery session runs, and the Discovery Logs page displays any relevant log messages. If the discovery session locates and adds any devices, the Discovery Logs page includes a link to the Device Investigator page for the discovered device.

Discovering IBM Component Devices in the Skylar One Classic User Interface

To discover an IBM MQ messaging system:

  1. Go to the Discovery Control Panel page (System > Manage > Classic Discovery or System > Manage > Discovery in the classic user interface).
  2. In the Discovery Control Panel, click the Create button. The Discovery Session Editor page appears.
  3. In the Discovery Session Editor page, complete the following fields:
  1. Optionally, you can enter values in the other fields on this page. For more information about the other fields on this page, see the Discovery & Credentials section.
  2. Click the Save button to save the discovery session and then close the Discovery Session Editor window.
  3. The discovery session you created appears at the top of the Discovery Control Panel page. Click its lightning-bolt icon () to run the discovery session.
  4. The Discovery Session window appears. When the cluster root device(s) are discovered, click the device icon () to view the Device Properties page for each device.

Verifying Discovery and Dynamic Application Alignment

To verify that Skylar One has automatically aligned the correct Dynamic Applications during discovery:

It can take several minutes after the discovery session has completed for Dynamic Applications to appear in the Dynamic Application Collections page.

You should see the following Dynamic Applications aligned to the IBM MQ root device:

You should see the following Dynamic Applications aligned to the IBM MQ server:

You should see the following Dynamic Applications aligned to the IBM MQ queue managers:

NOTE: For Windows users, in the "IBM: MQ Cluster Channel Configuration" Dynamic Application, when a channel is configured with a cluster and that cluster is deleted, the status for that cluster cannot be returned.

NOTE: For Windows users, in the "IBM: MQ Cluster Channel Configuration" Dynamic Application, the "CLUSSDRA" and "CLUSSDRB" are shown as "CLUSSDR".

NOTE: For Windows users, the "IBM: MQ Discovery" Dynamic Application currently does not return "Connections", "Parent Queue Manager", or "Start Date" metrics. On some MQ installations, Skylar One may be unable to collect the "Standby Host" property.

NOTE: For Windows users, the "IBM: MQ Queue Manager Configuration" Dynamic Application currently does not return "Connections", "Parent Queue Manager", or "Start Date" metrics.

You should see the following Dynamic Applications aligned to the IBM MQ queues:

If the listed Dynamic Applications have not been automatically aligned during discovery, you can align them manually. To do so, perform the following steps:

Configuring the IBM: MQ Queue Discovery Snippet

The "IBM: MQ Queue Discovery" Dynamic Application snippet allows you to customize the list of queue names and types of queues that Skylar One will discover. Up to 20 queue names can be specified, and those names will be discovered under each queue manager where they are found.

For specifying queue types, an integer can be specified as one item in the list, and the allowed values for type are:

1 : Dead letter queue will be discovered

2 : Transmission queues will be discovered

To edit the snippet:

  1. Go to the Dynamic Applications Manager page (System > Manage > Applications).
  2. Find the "IBM: MQ Queue Discovery" Dynamic Application and click its wrench icon ().
  3. In the Dynamic Applications Properties Editor, click the Snippets tab.
  4. In the Dynamic Applications Snippet Editor & Registry page, click the wrench icon () of the "Discover-Queues" snippet.
  5. The content of the snippet will appear. Add the following text to the snippet to customize the list of queue names and queue types that can be discovered:

QUEUES_TO_DISCOVER = ['<queue name>','<queue name>','<queue type>']

Use commas to separate queue names and queue types.

Configuring the IBM: MQ Error Log Configuration Snippet

By default, only some errors are monitored and alerted in Skylar One. The IDs of the errors supported can be found in the snippet of the "IBM: MQ Error Log Configuration" Dynamic Application. You can add other error messages by adding the alert ID to the ALERT_ID_LIST list in the snippet.

To edit the snippet:

  1. Go to the Dynamic Applications Manager page (System > Manage > Applications).
  2. Find the "IBM: MQ Error Log Configuration" Dynamic Application and click its wrench icon ().
  3. In the Dynamic Applications Properties Editor, click the Snippets tab.
  4. In the Dynamic Applications Snippet Editor & Registry page, click the wrench icon () of the "Get-ErrorLogRecords" snippet.
  5. The content of the snippet will appear. Add the alert IDs you want added to the ALERT_ID_LIST in the snippet:

Viewing IBM MQ Component Devices

In addition to the Devices page, you can view the IBM MQ system and all associated component devices in the following places in the user interface: