AUTOALERT statement
Using AUTOALERT
You can define from 1 through 255 AUTOALERT statements.
Sample from $$$AUTO
ACTIONCODE(ARR001) +
EXECNAME(AMICUSER) +
WTOONLY + ; Only issue WTO
DESCRIPTION('Cancel TSO Userid')
Statement parameters
AUTOALERT uses the following parameters:
Parameter | Description |
---|---|
ACTIONCODE(CCActionCode) | Unique identifier for the alert The action code defined in BMC AMI Command Center for Security. If two AUTOALERT statements have the same action code, the later AUTOALERT statement overwrites the earlier AUTOALERT statement. |
EXECNAME(REXXExec) | Name of the REXX exec Specify the REXX exec that you want BMC AMI Datastream to run after receiving the action code. |
WTOONLY | Command to issue a write-to-operator (WTO) message Use WTOONLY to override the execution of the REXX exec specified in EXECNAME and instead to issue a WTO (Message CZA1100A) on the local system. |
DESCRIPTION(‘actionCodeDesc’) | 1- to 40-character string You must enclose the string in single quotation marks (’). It can be any meaningful description of the action code. |
Modifying AUTOALERT
To change the EXECNAME and DESCRIPTION of a previously defined AUTOALERT statement, simply define a new statement for the same action code, update the values for EXECNAME and DESCRIPTION, and refresh the agent parameters.
To disable an active alert, change the EXECNAME to AMIDUMMY and refresh the agent parameters; no action is taken by the alert.
To disable an AUTOALERT statement, add a semicolon (;) before AUTOALERT and each of its parameters to comment them out.
Reserved action codes
The following action codes are reserved by BMC. Although you can edit the descriptions and parameter lists, the changes might not be saved with future updates.
Every smfid parameter represents the target SMFID.
Action code | Description | Parameters |
---|---|---|
ARR000 | WTO message for Auto Ops products |
|
ARR001 | Cancel TSO user ID |
|
ARR002 | Revoke user ID (SPE2404) Submits a batch job by using the Internal Reader DD, CZAIJCL, in the CZAGENT started task, to issue the ALTUSER REVOKE command to revoke the user ID. For more information about the CZAGENT started task, see Sample-CZAGENT-JCL-for-running-BMC-AMI-Datastream-as-a-started-task. |
|
ARR003 | Set UAUDIT to monitor everything that a user does |
|
ARR004 | Disconnect IP address |
|
ARR005 | Shut down IP port number |
|
ARR006 | Stop STC |
|
ARR007 | Start trace of Security Session Monitor (3270) user Create a VTAM 3270 Security Session Monitor archive request and start monitoring activity for the specified user ID. This action code runs REXX exec AMISMUSR. |
|
ARR008 | Start trace of Security Session Monitor (3270) application ID Create a VTAM 3270 Security Session Monitor archive request and start monitoring activity for the specified application ID. This action code runs REXX exec AMISMAPP. |
|
ARR009 | Start trace of Security Session Monitor (TCP) Create a TCP/IP Security Session Monitor archive request and start monitoring activity for the specified IP address and port number. This action code runs REXX exec AMISMTCP. |
|
ARR010 | Start trace of Security Session Monitor (MQ) Create an MQ Security Session Monitor archive request and start monitoring activity for the specified queue manager. This action code runs REXX exec AMISMMQ. |
|
ARR012 | Start dynamic trace of Security Session Monitor (3270) user Create a VTAM 3270 Security Session Monitor archive request and start monitoring activity for the specified user ID for the indicated duration. After the trace starts, user activity information is sent to the BMC Defender Server every minute. This action code runs REXX exec AMISMUSR. |
|
ARR013 | Scan a newly mounted file system for any APF-authorized programs Submits a batch job by using the Internal Reader DD, CZAIJCL, in the CZAGENT started task to scan the file system. For more information about the CZAGENT started task, see Sample-CZAGENT-JCL-for-running-BMC-AMI-Datastream-as-a-started-task. File systems mounted with the NOSETUID option are not scanned. |
|