You can define an SNMP Subscribe (SNPC_JOB) job to subscribe for SNMP trap information.
Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows. Your agent administrator must configure the agent as an SNMP manager and configure the SNMP trap listener.
Note: For information on configuring the agent's trap listener for SNMP Subscribe jobs, see the CA Workload Automation Agent for UNIX, Linux, or Windows Implementation Guide.
Required Statements
To define an SNMP Subscribe job, you must specify the following statements:
Optional Statements
You can specify the following optional statement for an SNMP Subscribe job:
Example: Subscribe to the First SNMP Trap the Agent Receives
Suppose that you want the agent to subscribe to the first SNMP trap it receives. In this example, the name of the MIB file is RFC1213-MIB.mib. When the agent receives the first trap, the job completes.
AGENT SNMPAGENT MIB 'C:\SNMP\MIBs\RFC1213-MIB.mib' FILTER .*
Example: Subscribe to All SNMP Traps the Agent Receives
Suppose that you want the agent to subscribe to all SNMP traps it receives. In this example, the name of the MIB file is RFC1213-MIB.mib. Whenever the agent receives a trap, an alert named ALRT is sent.
AGENT SNMPAGENT MIB 'C:\SNMP\MIBs\RFC1213-MIB.mib' CONTINUOUS(ALRT) FILTER .*
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|