The FILTER statement specifies a regular expression to use as a filter in an SNMP Subscribe job.
Supported Job Type
This statement is required for the SNMP Subscribe job type.
Syntax
This statement has the following format:
FILTER filter
Specifies a regular expression to use as a filter. The filter is used to filter SNMP trap information.
Limits: Up to 256 characters; case-sensitive
Notes:
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 .*
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|