ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahx_5.4.0.1/rzahxmonmessageexample.htm

87 lines
5.8 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="topic" />
<meta name="DC.Title" content="Scenario: Message monitor" />
<meta name="abstract" content="See an example message monitor that displays any inquiry messages for your message queue that occur on any of your iSeries servers. The monitor opens and displays the message as soon as it is detected." />
<meta name="description" content="See an example message monitor that displays any inquiry messages for your message queue that occur on any of your iSeries servers. The monitor opens and displays the message as soon as it is detected." />
<meta name="DC.Relation" scheme="URI" content="rzahxmonexample.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzahxmonmessageexample" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Scenario: Message monitor</title>
</head>
<body id="rzahxmonmessageexample"><a name="rzahxmonmessageexample"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Scenario: Message monitor</h1>
<div><p>See an example message monitor that displays any inquiry messages
for your message queue that occur on any of your <span class="keyword">iSeries™</span> servers.
The monitor opens and displays the message as soon as it is detected.</p>
<div class="section" id="rzahxmonmessageexample__situation"><a name="rzahxmonmessageexample__situation"><!-- --></a><h4 class="sectionscenariobar">Situation</h4><p>You
company has several <span class="keyword">iSeries</span> servers
running, 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.</p>
<p>You can set up a message monitor to display
any inquiry messages for your message queue that occur on any of your <span class="keyword">iSeries</span> systems. The monitor opens and
displays the message as soon as it is detected.</p>
<p><strong>Configuration example</strong></p>
<p>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:</p>
<ol><li>In <span class="keyword">iSeries Navigator</span>, expand <span class="menucascade"><span class="uicontrol">Management Central</span> &gt; <span class="uicontrol">Monitors</span></span>,
right-click <span class="uicontrol">Message monitor</span>, and select <span class="uicontrol">New
Monitor..</span>.</li>
<li>On the <span class="uicontrol">General</span> page, enter a name and description
for this monitor.</li>
<li>Click the <span class="uicontrol">Messages</span> tab, and enter the following
values: <ol type="a"><li>For <span class="uicontrol">Message queue to monitor</span>, specify <span class="uicontrol">QSYSOPR</span>.</li>
<li>On the <span class="uicontrol">Message set 1</span> tab, select <span class="uicontrol">Inquiry</span> for <span class="uicontrol">Type</span>,
and click <span class="uicontrol">Add</span>.</li>
<li>Select <span class="uicontrol">Trigger at the following message count</span>,
and specify <span class="uicontrol">1</span> message.</li>
</ol>
</li>
<li>Click the <span class="uicontrol">Collection Interval</span> tab, and select <span class="uicontrol">15
seconds</span>.</li>
<li>Click the <span class="uicontrol">Actions</span> tab, and select <span class="uicontrol">Open
monitor</span>.</li>
<li>Click the <span class="uicontrol">Systems and groups</span> tab, and select the
systems and groups you would like to monitor for inquiry messages.</li>
<li>Click <span class="uicontrol">OK</span> to save the new monitor.</li>
<li>From the list of message monitors, right-click the new monitor and select <span class="uicontrol">Start</span>.</li>
</ol>
<p><strong>Results</strong></p>
<p>The new message monitor displays any inquiry
messages sent to QSYSOPR on any of the <span class="keyword">iSeries</span> servers
that are monitored.</p>
<div class="note"><span class="notetitle">Note:</span> 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 <span class="keyword">i5/OS™</span> commands
when specified messages are received.</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahxmonexample.htm" title="Provides scenarios that show how you can use some of the different types of monitors to look at specific aspects of your system's performance.">Scenarios: iSeries Navigator monitors</a></div>
</div>
</div>
</body>
</html>