Common FAQs on SNMP Traps
What are the types of SNMP v1Traps?
These traps generate 5 types of data:
- coldStart: This type of trap is received from an agent that is installed on a device which is reinitializing itself with its configuration changed. The Generic Type value for coldstart is '0'.
- warmStart: This type of trap is received from an agent that is installed on a device which is reinitialized automatically and its configuration remains unaltered. The Generic Type value for warmstart is '1'.
- linkDown: This type of trap denotes that a network interface card (NIC) or the communication link on the agent has failed (Linkdown). The Generic Type value for Linkdown is '2'.
- linkUp: This type of trap denotes that a network interface card or a communication link on the agent is reinitialized. The Generic Type value for linkUp is '3'.
- authenticationFailure: This happens when an SNMP agent gets a request from an unrecognized (unauthenticated) community name. The Generic Type value is 4.
- egpNeighborLoss: Agent cannot communicate with its EGP (Exterior Gateway Protocol) peer. The Generic Type value is 5.
- enterpriseSpecific: This trap is specific to enterprises and vendor specific error conditions and error codes. The Generic Type value is 6.
How to configure SNMP Traps in Agent?
Despite configuring the SNMP Trap Processor in OpManager , you might still not see the alarms based on traps. You might need to check the SNMP agent configuration on the monitored devices.
How can I ignore a trap from being processed?
- Go to Settings → Monitoring → SNMP Trap Processors
- Under Status, disable the trap processor that you do not wish to be processed.
Can I process traps from a device which is not available in OpManager ?
No, the device must be available in OpManager for you to be able to process those traps.
How to combine multiple traps and generate them as a single alarm?
If the value for the Failure Component field is the same for two or more trap processors, it'll be processed as a single entity. For instance, let us assume CISCO_SHUTDOWN and CISCO_FANSTATUS as two different trap processors.
Now, if the Failure Component field for both these trap processors contain the value CISCO, then these trap processors will be processed as a single entity.
To configure,
- Go to Settings → Monitoring → SNMP Trap Processors
- Select Add/Edit a trap processor
- Add/Edit the Failure Component field to contain the same value.
Now, OpManager will process these traps as a single entity.