how to know what are the snmp traps/alerts a SNMP device can send/inform ?
by marozsas from LinuxQuestions.org on (#4TM1F)
How to know what are the SNMP traps/alerts a SNMP device can send/inform ?
For instance, I can walk through all SNMP OIDS from a device, using snmpwalk. Is there a similar command to list all traps/alerts even they are not set ? (I mean, currently the alarms are not in place )
Basically I am setting up a snmptrap daemon and apparently I must know each possible trap/alert OID to setup a traphandle for that alert and assign a program to deal with.


For instance, I can walk through all SNMP OIDS from a device, using snmpwalk. Is there a similar command to list all traps/alerts even they are not set ? (I mean, currently the alarms are not in place )
Basically I am setting up a snmptrap daemon and apparently I must know each possible trap/alert OID to setup a traphandle for that alert and assign a program to deal with.