ポリシー・ルールを使用して、いくつかの異なるタイプのしきい値を定義できます。 同じしきい値を持つ複数のポリシー・ルールがデプロイされると、トリガーされるルールの順序は、メッセージ・アクション・ルールが最初で、次にイベント・アクション・ルール、最後は異常終了アクション・ルールになります。
ルール・タイプ 1 | ルール項目 2 | 演算子 3 | 単位 4 | 値 5 |
---|---|---|---|---|
データベース要求 |
SQL コマンド |
より大きい |
|
|
ファイル要求 |
削除コマンド |
より大きい |
|
「要求数」または「1000 個の要求数」に関するこれらの値の範囲は、すべてのファイル要求ポリシー・ルール項目に適用されます。 |
プログラム要求 |
LINK コマンド 注: INVOKE APPLICATION コマンドもカウントに含まれますが、別個のポリシー項目ではありません。
|
より大きい |
|
|
開始要求 |
START コマンド |
より大きい |
|
|
ストレージ |
24 ビット・タスク・ストレージ |
より大きい |
|
24 ビット・ルール項目:
31 ビット・ルール項目:
64 ビット・ルール項目:
|
ストレージ要求 |
24 ビット・タスク・ストレージ要求 |
より大きい |
|
「要求数」または「1000 個の要求数」に関するこれらの値の範囲は、すべてのストレージ要求ポリシー・ルール項目に適用されます。 |
同期点要求 |
SYNCPOINT コマンド |
より大きい |
|
|
TD キュー要求 |
READQ TD コマンド |
より大きい |
|
「要求数」または「1000 個の要求数」に関するこれらの値の範囲は、すべての TD キュー要求ポリシー・ルール項目に適用されます。 |
時間 |
CPU 時間 |
より大きい |
|
|
TS キュー・バイト |
WRITEQ TS コマンド 注:
|
より大きい |
|
すべての TS キュー・バイト・ポリシー・ルール項目で、値の範囲は同じです。 |
TS キュー要求 |
READQ TS コマンド 注: READQ および WRITEQ ポリシー項目は、補助 TSQ と主 TSQ の組み合わせに対する READ または WRITE 要求の総数のしきい値を設定するために使用します。
他の WRITEQ ポリシー項目は、特定のタイプの TSQ に対する WRITE 要求数のしきい値を設定するために使用します。
|
より大きい |
|
「要求数」または「1000 個の要求数」に関するこれらの値の範囲は、すべての TS キュー要求ポリシー・ルール項目に適用されます。 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<policy:policy xmlns:policy="http://www.ibm.com/xmlns/prod/cics/managedplatform/policy" policySchemaRelease="0" policySchemaVersion="1">
<description>Example platform policy to monitor task storage and file read counts</description>
<userTag>exmp_1</userTag> thru <userTag>exmp_3</userTag>
<rule type="storage" 1 >
<name>TooMuch24BitStorage</name>
<description>Issue DFHMP3001 msg when a task allocate more than 1024 bytes of 24 bit task storage</description>
<storageUsedCondition item="task24" 2 operator="GT" 3 value="1" 5 unit="K" 4 />
<action>
<message/>
</action>
</rule>
<rule type="filerequest" 1 >
<name>TooManyReads</name>
<description>Issue DFHMP3001 msg when a task does more than 50 reads</description>
<fileRequestCondition item="read" 2 operator="GT" 3 value="50" 5 unit="" 4 />
<action>
<message/>
</action>
</rule>
</policy:policy>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<policy:policy xmlns:policy="http://www.ibm.com/xmlns/prod/cics/managedplatform/policy" policySchemaRelease="0" policySchemaVersion="1">
<description>Policy to monitor the number of file reads</description>
<userTag>fcpol_1</userTag>
<rule type="filerequest" 1 >
<name>File_Reads</name>
<description>Abend the task if the file read limit exceeded</description>
<fileRequestCondition item="read" 2 operator="GT" 3 value="10" 5 unit="K" 4 />
<action>
<abend/>
</action>
</rule>
<rule type="filerequest" 1 >
<name>File Write</name>
<description>Abend the task with specified abend code CFI1 if the file write limit exceeded</description>
<fileRequestCondition item="write" 2 operator="GT" 3 value="5" 5 unit="K" 4 />
<action>
<abend abendCode="CFI1"/>
</action>
</rule>
</policy:policy>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<policy:policy xmlns:policy="http://www.ibm.com/xmlns/prod/cics/managedplatform/policy" policySchemaRelease="0" policySchemaVersion="1">
<description>Policy to monitor the number of file reads</description>
<userTag>fcpol_1</userTag>
<rule type="filerequest" 1 >
<name>File Write</name>
<description>The file write limitation policy</description>
<fileRequestCondition item="write" 2 operator="GT" 3 value="500" 5 unit="" 4 />
<action>
<event>
<eventAdapterName>adapterB</eventAdapterName>
</event>
</action>
</rule>
<rule type="filerequest" 1 >
<name>File_Reads</name>
<description>File read limitation policy</description>
<fileRequestCondition item="read" 2 operator="GT" 3 value="100" 5 unit="" 4 />
<action>
<event>
<eventAdapterSetName>adaSetA</eventAdapterSetName>
</event>
</action>
</rule>
</policy:policy>