Previous Topic: Defining SNMP Subscribe JobsNext Topic: Defining SNMP Value Get Jobs


Defining SNMP Trap Send Jobs

You can define an SNMP Trap Send (SNPE_JOB) job to send 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.

Required Statements

To define an SNMP Trap Send job, you must specify the following statements:

In addition, if your SNMP version is v1 or v2, you must also specify the following statement:

If your SNMP version is v3, you must also specify the following statements:

Optional Statements

You can specify the following optional statements for an SNMP Trap Send job:

In addition, if your SNMP version is v3, you can also specify the following statement:

Example: Send an SNMP Trap to a Network Device

Suppose that you want to send the cybtrapstart trap to a network device using SNMP v3. In this example, five string parameters are passed to the trap. The host name of the network device is localhost and its port is 162. The job uses the AES privacy protocol and the SHA authentication protocol. The name of the MIB file is RFC1213-MIB.mib and the default engine ID is used. The credentials of user1 are used for authorization.

AGENT SNMPAGENT
MIB 'C:\SNMP\MIBs\RFC1213-MIB.mib'
SNMPNODE cybtrapstart HOST(localhost) PORT(162) VERSION(3)
SNMPUSER user1
AUTHPROTOCOL SHA
PRIVPROTOCOL AES
ENGINEID
PARAMETER TYPE(snmp:string) VALUE(p1)
PARAMETER TYPE(snmp:string) VALUE(p2)
PARAMETER TYPE(snmp:string) VALUE(p3)
PARAMETER TYPE(snmp:string) VALUE(p4)
PARAMETER TYPE(snmp:string) VALUE(p5)