Snmp Trap Variable Bindings Average ratng: 4,9/5 4107 reviews

Oct 10, 2006  Generic trap type—Indicates one of a number of generic trap types. Specific trap code—Indicates one of a number of specific trap codes. Time stamp—Provides the amount of time that has elapsed between the last network reinitialization and generation of the trap. Variable bindings—The data field of the trap that contains PDU.

Question & Answer


Question

In Symphony 6.1.1, using snmptrapd version 5.5, we get the snmp the following list of traps variable-bindings: EGO-SNMP-MIB::componentName = STRING: 'ego_lim' EGO-SNMP-MIB::eventCode = INTEGER: 1 EGO-SNMP-MIB::eventLevel = STRING: 'Error' EGO-SNMP-MIB::eventArgs = STRING: 'System daemon VEMKD is down on host in cluster '] But in symphony 7.1.1, using the same version of snmptrapd, we get the following list of traps variable-bindings: SNMPv2-SMI::enterprises.2766.2000.1.1 = STRING: 'ego_lim' SNMPv2-SMI::enterprises.2766.2000.1.2 = INTEGER: 1 SNMPv2-SMI::enterprises.2766.2000.1.3 = STRING: 'Error' SNMPv2-SMI::enterprises.2766.2000.1.4 = STRING: 'System daemon VEMKD is down on host in cluster ']What has been changed in symphony 7.1.1 snmp integration? How can we have the trap variable names translated properly (from SNMPv2-SMI::enterprises.2766.2000.1.{1,2,3,4} to EGO-SNMP-MIB:: {componentName,eventCode,eventLevel,eventArgs}?

Answer


There is nothing different with respect to SNMP integration in Symphony 7.1.1. The difference in variable bindings may be noticed due to the change in SNMP version. It is advised to change the snmptrapd command the following way to ensure that the Symphony's built-in MIB file is used by snmptrapd instead of SNMP's default:

Download lagu tez cadey seve radio edit.
snmptrapd -c /1.conf -f -Lo -d -m $EGO_TOP/kernel/conf/mibs/EGO-SNMP-MIB.txt
Options explanation:
-c /1.conf means decode all the events captured by snmptrapd, the context in file '1.conf' is 'disableAuthorization yes'
-f means keep the process in current shell, do not fork from the shell
-Lo means log to standard output
-d means debug mode
-m means use MIBLIST instead of the default MIB list ------>> here we point this to our built-in MIB file to replace SNMP default's just for the snmptrapd command.

[{'Product':{'code':'SSZUMP','label':'IBM Spectrum Symphony'},'Business Unit':{'code':'BU010','label':'Systems - Storage'},'Component':'EGO','Platform':[{'code':'PF025','label':'Platform Independent'}],'Version':'7.1.1','Edition':'}]

Document Information

Snmp Trap Variable Bindings

Modified date:
23 June 2018