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, you need to 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, you need to 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:
- In System i® Navigator, expand , right-click Message monitor, and select New Monitor...
- On the General page, enter a name and description for this monitor.
- Click the Messages tab, and enter the following
values:
- For Message queue to monitor, specify QSYSOPR.
- On the Message set 1 tab, select Inquiry for Type, and click Add.
- Select Trigger at the following message count, and specify 1 message.
- Click the Collection Interval tab, and select 15 seconds.
- Click the Actions tab, and select Open monitor.
- Click the Systems and groups tab, and select the systems and groups you would like to monitor for inquiry messages.
- Click OK to save the new monitor.
- 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.