How to alert on OS Catalog becoming full.
search cancel

How to alert on OS Catalog becoming full.

book

Article ID: 208400

calendar_today

Updated On:

Products

Vantage Storage Resource Manager

Issue/Introduction

Is there a sample script to report on OS-Catalogs becoming full?

 

Environment

Release : 14.0

Component : CA Vantage Storage Resource Manager

Resolution

The following script will report on any OS/Catalogs that have reached the 2G limit.

<GENERAL>
EVENT_TYPE=GOA
TITLE=Full Catalog
SIMULATE=N
ENABLED=N
LOAD_SCRIPT=N
STARTTIME=0000
ENDTIME=2400
<EVENT_PROCEDURE>
SELECT_OBJ=CATALOGJ
SET_REALTIME
SET_FILTER='Hi-U-RBA' >= 200000000
EXECUTE
IF_RECORDS_EQ=1
[email protected],[email protected],SUBJECT=Cata
 log High Used RBA
EMAIL_TXT=Catalog %%CAHNAME%%     on volume %%CAHVOL%%   has
EMAIL_TXT=%%CAHEXTS%% extents ,%%CAHHAPL8%% allocated RBA, and
EMAIL_TXT=%%CAHHUPL8%% used RBA.
PERFORM_EMAIL
DO_FOR_ALL
LOG_DATA
NEXT
ENDDO
ELSE
ENDIF