81 lines
6.2 KiB
HTML
81 lines
6.2 KiB
HTML
|
<?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="concept" />
|
||
|
<meta name="DC.Title" content="Specify threshold run commands" />
|
||
|
<meta name="abstract" content="A threshold is a setting for a metric that is being collected by a monitor. Threshold commands run automatically on your endpoint system when threshold events occur. Threshold commands are different from any threshold actions you may have set. Threshold actions happen on your PC or central system, while threshold commands run on your endpoint systems." />
|
||
|
<meta name="description" content="A threshold is a setting for a metric that is being collected by a monitor. Threshold commands run automatically on your endpoint system when threshold events occur. Threshold commands are different from any threshold actions you may have set. Threshold actions happen on your PC or central system, while threshold commands run on your endpoint systems." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaihjobmoncreate.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaihjobmoncollectitv.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaihjobmonevents.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="rzaihjobmoncommand" />
|
||
|
<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>Specify threshold run commands</title>
|
||
|
</head>
|
||
|
<body id="rzaihjobmoncommand"><a name="rzaihjobmoncommand"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Specify threshold run commands</h1>
|
||
|
<div><p>A <dfn class="term">threshold</dfn> is a setting for a metric that is being
|
||
|
collected by a monitor. <dfn class="term">Threshold commands</dfn> run automatically
|
||
|
on your endpoint system when threshold events occur. Threshold commands are
|
||
|
different from any threshold actions you may have set. Threshold actions happen
|
||
|
on your PC or central system, while threshold commands run on your endpoint
|
||
|
systems.</p>
|
||
|
<div class="section"><h4 class="sectiontitle">Use of threshold commands</h4><p>Use threshold settings
|
||
|
to automate any i5/OS™ command
|
||
|
you want to run when thresholds are triggered or reset. For example, suppose
|
||
|
you are running a job monitor and a certain batch job that is supposed to
|
||
|
complete before the first shift begins is still running at 6:00 a.m. To accomplish
|
||
|
this, you can set up Threshold 1 to send a page command to a system operator
|
||
|
to look at it. You can also set up Threshold 2 to send a command to end the
|
||
|
job if it is still running at 7:00 a.m.</p>
|
||
|
<p>In another situation, you might
|
||
|
want to notify your operators with a page command when the job monitor detects
|
||
|
that the wait time values for the FTP and HTTP servers have reached a median
|
||
|
level. If the FTP server jobs end, you can restart the server
|
||
|
with a start server command (such as STRTCPSVR *FTP). You can set thresholds
|
||
|
and specify commands to automatically handle many different situations. In
|
||
|
short, you can use threshold commands in any way that makes sense for your
|
||
|
environment.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">How do I set threshold commands?</h4><p>On the New Monitor-Metrics
|
||
|
page, click the <span class="uicontrol">Thresholds</span> tab to enable your thresholds.
|
||
|
Before you can set any threshold commands, you must turn your thresholds on
|
||
|
by selecting the <span class="uicontrol">Enable trigger</span> (or similarly named)
|
||
|
option. You can then use this window to enter any commands you want to run
|
||
|
when the threshold trigger value is reached. Select the <span class="uicontrol">Enable
|
||
|
reset</span> (or similarly named) option if you want to specify a command
|
||
|
to run when the threshold reset value is reached.</p>
|
||
|
<p>Management Central
|
||
|
monitors allow you to specify any batch commands to run on the server when
|
||
|
the threshold is triggered or reset. You can enter an i5/OS command name and click <span class="uicontrol">Prompt</span> (or
|
||
|
press F4) for assistance in specifying the parameters for the command. You
|
||
|
can even use replacement variables (such as &TIME or &NUMCURRENT)
|
||
|
to pass information to the command, such as the time and actual value of the
|
||
|
metric.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaihjobmoncreate.htm" title="Creating a new monitor is a quick and easy process that begins at the New Monitor window. In iSeries Navigator, expand Management Central, expand Monitors, right-click the type of monitor you want to create (for example, Job), and then click New Monitor.">Create a new monitor</a></div>
|
||
|
<div class="previouslink"><strong>Previous topic:</strong> <a href="rzaihjobmoncollectitv.htm" title="When you are setting thresholds for the metrics you have selected to monitor, you should consider how often you want the data to be collected.">Specify the collection interval</a></div>
|
||
|
<div class="nextlink"><strong>Next topic:</strong> <a href="rzaihjobmonevents.htm" title="When you have specified the threshold values for your monitor, you can click the Actions tab to select event logging and the PC actions to be taken when a threshold is triggered or reset.">Specify event logging and actions</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|