Snmp-iwillfearnoevil
Jump to navigation
Jump to search
Specific to IANA SNMP oid 30911
Everything dealing specifically with the IANA registered SNMP oid for iwillfearnoevil.com needs to go here.
Default path: 1.3.6.1.4.1.30911
Sooner or later a MIB will have to be written. However in the meantime some basic traps and values are considered "standard". Outside of these oid paths it is going to be the wild west. Document ALL OID standards that live under 30911
Existing Used
- 1.3.6.1.4.1.30911.100.X
- X=5 critical event
- X=4 major event
- X=3 minor event
- X=2 informational event
- X=1 debug event
- 1.3.6.1.4.1.30911.50.X
- X=1...? Drop oid system for adhoc SNMP OIDS read from a file
- 1.3.6.1.4.1.30911.4.X
- Unknown historical adhoc
- 1.3.6.1.4.1.30911.2.X
- Unknown historical adhoc
- 1.3.6.1.4.1.30911.0.X
- Keep the .0 range free for exotics
Standard ranges for additional information to append to trap OID above
- 1.3.6.1.4.1.30911.1.1.X
- X=1...? Each line can be appended and used as values for an SNMPTRAP
Example manual trap
export COMMSTRING=public export NMSIP=127.0.0.1 export SOURCEIPADDRESS=127.0.1.1 snmptrap -v 1 -c ${COMMSTRING} ${NMSIP} \ 1.3.6.1.4.1.30911.100.1 \ ${SOURCEIPADDRESS} 6 1.3.6.1.2.1.1.5.0 s \ 1.3.6.1.4.1.30911.1.1.7 s "Source host ${SOURCEIPADDRESS}" \ 1.3.6.1.4.1.30911.1.1.6 s "Notify chubbard@iwillfearnoevil.com for ALL failures." \ 1.3.6.1.4.1.30911.1.1.5 s "TEST 1/1" \ 1.3.6.1.4.1.30911.1.1.4 s "Valid SNMP Event failure." \ 1.3.6.1.4.1.30911.1.1.3 s "More event details" \ 1.3.6.1.4.1.30911.1.1.2 s "Even more details here" \ 1.3.6.1.4.1.30911.1.1.1 s "SNMP TRAP send failure occurred."