Scenario: Message monitor

 

See an example message monitor that displays any inquiry messages for your message queue that occur on any of your systems. The monitor opens and displays the message as soon as it is detected.

 

Situation

You company has several systems, and it is time-consuming to check your message queue for each system. As a system administrator, be aware of inquiry messages as they occur across your system.

You can set up a message monitor to display any inquiry messages for your message queue that occur on any of your systems. The monitor opens and displays the message as soon as it is detected.

Configuration example

To set up a message monitor, define the types of messages you would like to watch for and what you would like the monitor to do when these messages occur. To set up a message monitor that accomplishes this goal, complete the following steps:

  1. In iSeries™ Navigator, expand Management Central > Monitors, right-click Message monitor, and select New Monitor...

  2. On the General page, enter a name and description for this monitor.

  3. Click the Messages tab, and enter the following values:

    1. For Message queue to monitor, specify QSYSOPR.

    2. On the Message set 1 tab, select Inquiry for Type, and click Add.

    3. Select Trigger at the following message count, and specify 1 message.

  4. Click the Collection Interval tab, and select 15 seconds.

  5. Click the Actions tab, and select Open monitor.

  6. Click the Systems and groups tab, and select the systems and groups you would like to monitor for inquiry messages.

  7. Click OK to save the new monitor.

  8. From the list of message monitors, right-click the new monitor and select Start.

Results

The new message monitor displays any inquiry messages sent to QSYSOPR on any of the systems that are monitored.

This monitor responds to only inquiry messages sent to QSYSOPR. However, you can include two different sets of messages in a single monitor, and you can have several message monitors that run at the same time. Message monitors can also carry out i5/OS® commands when specified messages are received.

 

Parent topic:

Scenarios: iSeries Navigator monitors