Page 1 of 3

Unknown traps

Posted: Thu Jul 09, 2015 12:04 pm
by snapon_admin
Is there any reason, other than not having the correct MIB installed, that a trap message would end up in the snmpttunknown.log file? I'm trying to receive traps from an oracle grid server and the test traps keep coming up unknown even though I have the correct MIB installed.

Re: Unknown traps

Posted: Thu Jul 09, 2015 12:14 pm
by ssax
When you say that you installed the MIB, did you just put it in /usr/share/snmp/mibs?

Did you run addmib on it after?

Code: Select all

addmib /usr/share/snmp/mibs/YOUR-MIB-FILENAME
If yes, did you restart snmptt?

Code: Select all

service snmptt restart

Re: Unknown traps

Posted: Thu Jul 09, 2015 12:45 pm
by snapon_admin
Yep, all of that has been done, still showing as unkown.

Re: Unknown traps

Posted: Thu Jul 09, 2015 2:31 pm
by ssax
Please post the relevant entries from your /var/log/snmptt/snmpttunknown.log and the trap that it relates to from your /etc/snmp/snmptt.conf file.

Re: Unknown traps

Posted: Thu Jul 09, 2015 4:07 pm
by snapon_admin
snmpttunknown.log:

Code: Select all

Thu Jul  9 12:43:32 2015: Unknown trap (.1.3.6.1.4.1.111.15.2) received from <IP ADDRESS> at: 
Value 0: <IP ADDRESS>
Value 1: <IP ADDRESS>
Value 2: 9:22:48:15.33
Value 3: .1.3.6.1.4.1.111.15.2
Value 4: <IP ADDRESS>
Value 5: 
Value 6: 
Value 7: 
Value 8: 
Value 9: 
Value 10: 
Ent Value 0: .1.3.6.1.4.1.111.15.3.1.1.2.1=NOTIF_NORMAL
Ent Value 1: .1.3.6.1.4.1.111.15.3.1.1.3.1=This is a sample Event Message to test the SNMP ntofication delivery to the SNMP Manager. The contents of this messages are all sample data.
Ent Value 2: .1.3.6.1.4.1.111.15.3.1.1.4.1=https://SampleEMTargetHost:15430/em/redirect?pageType=sdk-core-event-console-detailEvent&issueID=BFD22554A4E23C37E040E50ADDDE1D71
Ent Value 3: .1.3.6.1.4.1.111.15.3.1.1.5.1=Critical
Ent Value 4: .1.3.6.1.4.1.111.15.3.1.1.6.1=CRITICAL
Ent Value 5: .1.3.6.1.4.1.111.15.3.1.1.7.1=0
Ent Value 6: .1.3.6.1.4.1.111.15.3.1.1.8.1=This is a sample event action message for SNMP delivery testing.
Ent Value 7: .1.3.6.1.4.1.111.15.3.1.1.9.1=May 14, 2012 11:46:27 AM GMT
Ent Value 8: .1.3.6.1.4.1.111.15.3.1.1.10.1=May 14, 2012 11:46:27 AM GMT
Ent Value 9: .1.3.6.1.4.1.111.15.3.1.1.11.1=Capacity, Security
Ent Value 10: .1.3.6.1.4.1.111.15.3.1.1.12.1=Capacity, Security
Ent Value 11: .1.3.6.1.4.1.111.15.3.1.1.13.1=Metric Alert
Ent Value 12: .1.3.6.1.4.1.111.15.3.1.1.14.1=Program Resource Utilization:Program's Max CPU Utilization (%)
Ent Value 13: .1.3.6.1.4.1.111.15.3.1.1.15.1=
Ent Value 14: .1.3.6.1.4.1.111.15.3.1.1.16.1=
Ent Value 15: .1.3.6.1.4.1.111.15.3.1.1.17.1=No
Ent Value 16: .1.3.6.1.4.1.111.15.3.1.1.18.1=
Ent Value 17: .1.3.6.1.4.1.111.15.3.1.1.19.1=
Ent Value 18: .1.3.6.1.4.1.111.15.3.1.1.20.1=
Ent Value 19: .1.3.6.1.4.1.111.15.3.1.1.21.1=SampleEMTargetname
Ent Value 20: .1.3.6.1.4.1.111.15.3.1.1.22.1=https://SampleEMTargetHost:15430/em/redirect?pageType=TARGET_HOMEPAGE&targetName=SampleEMTargetHost&targetType=host
Ent Value 21: .1.3.6.1.4.1.111.15.3.1.1.23.1=Host
Ent Value 22: .1.3.6.1.4.1.111.15.3.1.1.24.1=SampleEMTargetHost
Ent Value 23: .1.3.6.1.4.1.111.15.3.1.1.25.1=sysman
Ent Value 24: .1.3.6.1.4.1.111.15.3.1.1.26.1=Mission Critical
Ent Value 25: .1.3.6.1.4.1.111.15.3.1.1.27.1=10.2.0.1
Ent Value 26: .1.3.6.1.4.1.111.15.3.1.1.28.1=
Ent Value 27: .1.3.6.1.4.1.111.15.3.1.1.29.1=
Ent Value 28: .1.3.6.1.4.1.111.15.3.1.1.30.1=
Ent Value 29: .1.3.6.1.4.1.111.15.3.1.1.31.1=
Ent Value 30: .1.3.6.1.4.1.111.15.3.1.1.32.1=
Ent Value 31: .1.3.6.1.4.1.111.15.3.1.1.33.1=
Ent Value 32: .1.3.6.1.4.1.111.15.3.1.1.34.1=
Ent Value 33: .1.3.6.1.4.1.111.15.3.1.1.35.1=
Ent Value 34: .1.3.6.1.4.1.111.15.3.1.1.36.1=
Ent Value 35: .1.3.6.1.4.1.111.15.3.1.1.37.1=
Ent Value 36: .1.3.6.1.4.1.111.15.3.1.1.38.1=
Ent Value 37: .1.3.6.1.4.1.111.15.3.1.1.39.1=sample_rule_set_name
Ent Value 38: .1.3.6.1.4.1.111.15.3.1.1.40.1=sample_rule_set_name,dummy_rule_name
Ent Value 39: .1.3.6.1.4.1.111.15.3.1.1.41.1=sample_rule_set_owner
Ent Value 40: .1.3.6.1.4.1.111.15.3.1.1.42.1=BFD22554A4E23C37E040E50ADDDE1D71
Ent Value 41: .1.3.6.1.4.1.111.15.3.1.1.43.1=
Ent Value 42: .1.3.6.1.4.1.111.15.3.1.1.44.1=sample_ctx_1=strVal, sample_ctx_2=67891234567
Ent Value 43: .1.3.6.1.4.1.111.15.3.1.1.45.1=
Ent Value 44: .1.3.6.1.4.1.111.15.3.1.1.46.1=
Ent Value 45: .1.3.6.1.4.1.111.15.3.1.1.61.1=Metric GUID=C00480F615898D2FE040E50ADDDE395C
Ent Value 46: .1.3.6.1.4.1.111.15.3.1.1.62.1=Severity GUID=C00480F6158A8D2FE040E50ADDDE395C
Ent Value 47: .1.3.6.1.4.1.111.15.3.1.1.63.1=
Ent Value 48: .1.3.6.1.4.1.111.15.3.1.1.64.1=
Ent Value 49: .1.3.6.1.4.1.111.15.3.1.1.65.1=Metric Group=Program Resource Utilization
Ent Value 50: .1.3.6.1.4.1.111.15.3.1.1.66.1=Metric=Program's Max CPU Utilization (%)
Ent Value 51: .1.3.6.1.4.1.111.15.3.1.1.67.1=Metric Description=Testing metric description
Ent Value 52: .1.3.6.1.4.1.111.15.3.1.1.68.1=Metric value=85
Ent Value 53: .1.3.6.1.4.1.111.15.3.1.1.69.1=Key Value=The keyValue
Ent Value 54: .1.3.6.1.4.1.111.15.3.1.1.70.1=Key Column 1=Program Name
Ent Value 55: .1.3.6.1.4.1.111.15.3.1.1.71.1=Key Column 1 Value=%
Ent Value 56: .1.3.6.1.4.1.111.15.3.1.1.72.1=Key Column 2=Owner
Ent Value 57: .1.3.6.1.4.1.111.15.3.1.1.73.1=Key Column 2 Value=%
Ent Value 58: .1.3.6.1.4.1.111.15.3.1.1.74.1=
Ent Value 59: .1.3.6.1.4.1.111.15.3.1.1.75.1=
Ent Value 60: .1.3.6.1.4.1.111.15.3.1.1.76.1=
Ent Value 61: .1.3.6.1.4.1.111.15.3.1.1.77.1=
Ent Value 62: .1.3.6.1.4.1.111.15.3.1.1.78.1=
Ent Value 63: .1.3.6.1.4.1.111.15.3.1.1.79.1=
Ent Value 64: .1.3.6.1.4.1.111.15.3.1.1.80.1=
Ent Value 65: .1.3.6.1.4.1.111.15.3.1.1.81.1=
Ent Value 66: .1.3.6.1.4.1.111.15.3.1.1.82.1=
Ent Value 67: .1.3.6.1.4.1.111.15.3.1.1.83.1=
Ent Value 68: .1.3.6.1.4.1.111.15.3.1.1.84.1=Number of keys=2
Ent Value 69: .1.3.6.1.4.1.111.15.3.1.1.85.1=
snmptt.conf:

Code: Select all

MIB: ORACLE-ENTERPRISE-MANAGER-4-MIB (file:/usr/share/snmp/mibs/omstrap.mib) converted on Thu Jul  2 14:51:15 2015 using snmpttconvertmib v1.4beta2
#
#
#
EVENT oraEM4Alert .1.3.6.1.4.1.111.15.2.0.1 "Status Events" Normal
FORMAT The variables included in the oraEM4Alert trap. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The variables included in the oraEM4Alert trap. $*"
SDESC
The variables included in the oraEM4Alert trap.
Variables:
  1: oraEM4AlertTargetName
  2: oraEM4AlertTargetType
  3: oraEM4AlertHostName
  4: oraEM4AlertMetricName
  5: oraEM4AlertKeyName
  6: oraEM4AlertKeyValue
  7: oraEM4AlertTimeStamp
  8: oraEM4AlertSeverity
  9: oraEM4AlertMessage
  10: oraEM4AlertRuleName
  11: oraEM4AlertRuleOwner
  12: oraEM4AlertMetricValue
  13: oraEM4AlertContext
  14: oraEM4AlertCycleGuid
  15: oraEM4AlertRepeatCount
  16: oraEM4AlertUDTargetProperties
  17: oraEM4AlertAck
  18: oraEM4AlertAckBy
  19: oraEM4AlertNotifType
  20: oraEM4AlertViolationGuid
EDESC
#
#
#
EVENT oraEM4JobAlert .1.3.6.1.4.1.111.15.2.0.2 "Status Events" Normal
FORMAT The variables included in the oraEM4JobAlert trap. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The variables included in the oraEM4JobAlert trap. $*"
SDESC
The variables included in the oraEM4JobAlert trap.
Variables:
  1: oraEM4JobAlertJobName
  2: oraEM4JobAlertJobOwner
  3: oraEM4JobAlertJobType
  4: oraEM4JobAlertJobStatus
  5: oraEM4JobAlertTargets
  6: oraEM4JobAlertTimeStamp
  7: oraEM4JobAlertRuleName
  8: oraEM4JobAlertRuleOwner
  9: oraEM4JobAlertMetricName
  10: oraEM4JobAlertMetricValue
  11: oraEM4JobAlertContext
  12: oraEM4JobAlertKeyName
  13: oraEM4JobAlertKeyValue
  14: oraEM4JobAlertSeverity
  15: oraEM4JobAlertJobId
  16: oraEM4JobAlertJobExecId
EDESC
#
#
#
EVENT oraEMNGEvent .1.3.6.1.4.1.111.15.2.0.3 "Status Events" Normal
FORMAT The variables included in the oraEMNGAlert trap. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The variables included in the oraEMNGAlert trap. $*"
SDESC
The variables included in the oraEMNGAlert trap.
Variables:
  1: oraEMNGEventNotifType
  2: oraEMNGEventMessage
  3: oraEMNGEventMessageURL
  4: oraEMNGEventSeverity
  5: oraEMNGEventSeverityCode
  6: oraEMNGEventRepeatCount
  7: oraEMNGEventActionMsg
  8: oraEMNGEventOccurrenceTime
  9: oraEMNGEventReportedTime
  10: oraEMNGEventCategories
  11: oraEMNGEventCategoryCodes
  12: oraEMNGEventType
  13: oraEMNGEventName
  14: oraEMNGAssocIncidentId
  15: oraEMNGAssocIncidentOwner
  16: oraEMNGAssocIncidentAcked
  17: oraEMNGAssocIncidentStatus
  18: oraEMNGAssocIncidentPriority
  19: oraEMNGAssocIncidentEscLevel
  20: oraEMNGEventTargetName
  21: oraEMNGEventTargetNameURL
  22: oraEMNGEventTargetType
  23: oraEMNGEventHostName
  24: oraEMNGEventTargetOwner
  25: oraEMNGEventTgtLifeCycleStatus
  26: oraEMNGEventTargetVersion
  27: oraEMNGEventUserDefinedTgtProp
  28: oraEMNGEventSourceObjName
  29: oraEMNGEventSourceObjNameURL
  30: oraEMNGEventSourceObjType
  31: oraEMNGEventSourceObjSubType
  32: oraEMNGEventSourceObjOwner
  33: oraEMNGEventCAJobName
  34: oraEMNGEventCAJobStatus
  35: oraEMNGEventCAJobOwner
  36: oraEMNGEventCAJobStepOutput
  37: oraEMNGEventCAJobType
  38: oraEMNGEventRuleSetName
  39: oraEMNGEventRuleName
  40: oraEMNGEventRuleOwner
  41: oraEMNGEventSequenceId
  42: oraEMNGEventRCADetails
  43: oraEMNGEventContextAttrs
  44: oraEMNGEventUserComments
  45: oraEMNGEventUpdates
  46: oraEMNGEventTotalOccurrenceCount
  47: oraEMNGEventCurrOccurrenceCount
  48: oraEMNGEventCurrFirstOccurDate
  49: oraEMNGEventCurrLastOccurDate
  50: oraEMNGEventRCAStatus
  51: oraEMNGEventTypeAttr1
  52: oraEMNGEventTypeAttr2
  53: oraEMNGEventTypeAttr3
  54: oraEMNGEventTypeAttr4
  55: oraEMNGEventTypeAttr5
  56: oraEMNGEventTypeAttr6
  57: oraEMNGEventTypeAttr7
  58: oraEMNGEventTypeAttr8
  59: oraEMNGEventTypeAttr9
  60: oraEMNGEventTypeAttr10
  61: oraEMNGEventTypeAttr11
  62: oraEMNGEventTypeAttr12
  63: oraEMNGEventTypeAttr13
  64: oraEMNGEventTypeAttr14
  65: oraEMNGEventTypeAttr15
  66: oraEMNGEventTypeAttr16
  67: oraEMNGEventTypeAttr17
  68: oraEMNGEventTypeAttr18
  69: oraEMNGEventTypeAttr19
  70: oraEMNGEventTypeAttr20
  71: oraEMNGEventTypeAttr21
  72: oraEMNGEventTypeAttr22
  73: oraEMNGEventTypeAttr23
  74: oraEMNGEventTypeAttr24
  75: oraEMNGEventTypeAttr25
EDESC
#
#
#
#
MIB: ORACLE-ENTERPRISE-MANAGER-4-MIB (file:/usr/share/snmp/mibs/omstrap.v1) converted on Thu Jul  2 16:26:17 2015 using snmpttconvertmib v1.3
#
#
#
EVENT oraEM4Alert .1.3.6.1.4.1.111.15.2.0.1 "Status Events" Normal
FORMAT The variables included in the oraEM4Alert trap. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The variables included in the oraEM4Alert trap. $*"
SDESC
The variables included in the oraEM4Alert trap.
Variables:
  1: oraEM4AlertTargetName
  2: oraEM4AlertTargetType
  3: oraEM4AlertHostName
  4: oraEM4AlertMetricName
  5: oraEM4AlertKeyName
  6: oraEM4AlertKeyValue
  7: oraEM4AlertTimeStamp
  8: oraEM4AlertSeverity
  9: oraEM4AlertMessage
  10: oraEM4AlertRuleName
  11: oraEM4AlertRuleOwner
  12: oraEM4AlertMetricValue
  13: oraEM4AlertContext
  14: oraEM4AlertCycleGuid
  15: oraEM4AlertRepeatCount
  16: oraEM4AlertUDTargetProperties
  17: oraEM4AlertAck
  18: oraEM4AlertAckBy
  19: oraEM4AlertNotifType
  20: oraEM4AlertViolationGuid
EDESC
#
#
#
EVENT oraEM4JobAlert .1.3.6.1.4.1.111.15.2.0.2 "Status Events" Normal
FORMAT The variables included in the oraEM4JobAlert trap. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The variables included in the oraEM4JobAlert trap. $*"
SDESC
The variables included in the oraEM4JobAlert trap.
Variables:
  1: oraEM4JobAlertJobName
  2: oraEM4JobAlertJobOwner
  3: oraEM4JobAlertJobType
  4: oraEM4JobAlertJobStatus
  5: oraEM4JobAlertTargets
  6: oraEM4JobAlertTimeStamp
  7: oraEM4JobAlertRuleName
  8: oraEM4JobAlertRuleOwner
  9: oraEM4JobAlertMetricName
  10: oraEM4JobAlertMetricValue
  11: oraEM4JobAlertContext
  12: oraEM4JobAlertKeyName
  13: oraEM4JobAlertKeyValue
  14: oraEM4JobAlertSeverity
  15: oraEM4JobAlertJobId
  16: oraEM4JobAlertJobExecId
EDESC
#
#
#
EVENT oraEMNGEvent .1.3.6.1.4.1.111.15.2.0.3 "Status Events" Normal
FORMAT The variables included in the oraEMNGAlert trap. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "The variables included in the oraEMNGAlert trap. $*"
SDESC
The variables included in the oraEMNGAlert trap.
Variables:
  1: oraEMNGEventNotifType
  2: oraEMNGEventMessage
  3: oraEMNGEventMessageURL
  4: oraEMNGEventSeverity
  5: oraEMNGEventSeverityCode
  6: oraEMNGEventRepeatCount
  7: oraEMNGEventActionMsg
  8: oraEMNGEventOccurrenceTime
  9: oraEMNGEventReportedTime
  10: oraEMNGEventCategories
  11: oraEMNGEventCategoryCodes
  12: oraEMNGEventType
  13: oraEMNGEventName
  14: oraEMNGAssocIncidentId
  15: oraEMNGAssocIncidentOwner
  16: oraEMNGAssocIncidentAcked
  17: oraEMNGAssocIncidentStatus
  18: oraEMNGAssocIncidentPriority
  19: oraEMNGAssocIncidentEscLevel
  20: oraEMNGEventTargetName
  21: oraEMNGEventTargetNameURL
  22: oraEMNGEventTargetType
  23: oraEMNGEventHostName
  24: oraEMNGEventTargetOwner
  25: oraEMNGEventTgtLifeCycleStatus
  26: oraEMNGEventTargetVersion
  27: oraEMNGEventUserDefinedTgtProp
  28: oraEMNGEventSourceObjName
  29: oraEMNGEventSourceObjNameURL
  30: oraEMNGEventSourceObjType
  31: oraEMNGEventSourceObjSubType
  32: oraEMNGEventSourceObjOwner
  33: oraEMNGEventCAJobName
  34: oraEMNGEventCAJobStatus
  35: oraEMNGEventCAJobOwner
  36: oraEMNGEventCAJobStepOutput
  37: oraEMNGEventCAJobType
  38: oraEMNGEventRuleSetName
  39: oraEMNGEventRuleName
  40: oraEMNGEventRuleOwner
  41: oraEMNGEventSequenceId
  42: oraEMNGEventRCADetails
  43: oraEMNGEventContextAttrs
  44: oraEMNGEventUserComments
  45: oraEMNGEventUpdates
  46: oraEMNGEventTotalOccurrenceCount
  47: oraEMNGEventCurrOccurrenceCount
  48: oraEMNGEventCurrFirstOccurDate
  49: oraEMNGEventCurrLastOccurDate
  50: oraEMNGEventRCAStatus
  51: oraEMNGEventTypeAttr1
  52: oraEMNGEventTypeAttr2
  53: oraEMNGEventTypeAttr3
  54: oraEMNGEventTypeAttr4
  55: oraEMNGEventTypeAttr5
  56: oraEMNGEventTypeAttr6
  57: oraEMNGEventTypeAttr7
  58: oraEMNGEventTypeAttr8
  59: oraEMNGEventTypeAttr9
  60: oraEMNGEventTypeAttr10
  61: oraEMNGEventTypeAttr11
  62: oraEMNGEventTypeAttr12
  63: oraEMNGEventTypeAttr13
  64: oraEMNGEventTypeAttr14
  65: oraEMNGEventTypeAttr15
  66: oraEMNGEventTypeAttr16
  67: oraEMNGEventTypeAttr17
  68: oraEMNGEventTypeAttr18
  69: oraEMNGEventTypeAttr19
  70: oraEMNGEventTypeAttr20
  71: oraEMNGEventTypeAttr21
  72: oraEMNGEventTypeAttr22
  73: oraEMNGEventTypeAttr23
  74: oraEMNGEventTypeAttr24
  75: oraEMNGEventTypeAttr25
EDESC
#
#
#

Re: Unknown traps

Posted: Thu Jul 09, 2015 4:55 pm
by tgriep
In the Nagios XI GUI, click on Admin > Unconfigured Objects. Does it show up there?

Re: Unknown traps

Posted: Fri Jul 10, 2015 9:21 am
by snapon_admin
Nope, that's where I've been watching for it but I can only see anything referencing the trap in the unknown log.

Re: Unknown traps

Posted: Fri Jul 10, 2015 10:36 am
by ssax
It is an unknown trap because you do not have a trap in your /etc/snmp/snmptt.conf file for .1.3.6.1.4.1.111.15.2, you have sub-OIDs such as .1.3.6.1.4.1.111.15.2.0.1 but not the base.

For example, you could add this to your /etc/snmp/snmptt.conf (I wrote this trap from their available information, I have no idea if they provide it anywhere, I couldn't find it):

Code: Select all

EVENT oraEM4Traps .1.3.6.1.4.1.111.15.2 "Status Events" Normal
FORMAT The variables included in the oraEM4Traps trap. $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "This is a sample Event Message. $*"
This is a sample Event Message to test the SNMP notification delivery to the SNMP Manager. The contents of this messages are all sample data.
The variables included in the oraEM4Traps trap.
Variables:
  1: oraEMNGEventNotifType
  2: oraEMNGEventMessage
  3: oraEMNGEventMessageURL
  4: oraEMNGEventSeverity
  5: oraEMNGEventSeverityCode
  6: oraEMNGEventRepeatCount
  7: oraEMNGEventActionMsg
  8: oraEMNGEventOccurrenceTime
  9: oraEMNGEventReportedTime
  10: oraEMNGEventCategories
  11: oraEMNGEventCategoryCodes
  12: oraEMNGEventType
  13: oraEMNGEventName
  14: oraEMNGAssocIncidentId
  15: oraEMNGAssocIncidentOwner
  16: oraEMNGAssocIncidentAcked
  17: oraEMNGAssocIncidentStatus
  18: oraEMNGAssocIncidentPriority
  19: oraEMNGAssocIncidentEscLevel
  20: oraEMNGEventTargetName
  21: oraEMNGEventTargetNameURL
  22: oraEMNGEventTargetType
  23: oraEMNGEventHostName
  24: oraEMNGEventTargetOwner
  25: oraEMNGEventTgtLifeCycleStatus
  26: oraEMNGEventTargetVersion
  27: oraEMNGEventUserDefinedTgtProp
  28: oraEMNGEventSourceObjName
  29: oraEMNGEventSourceObjNameURL
  30: oraEMNGEventSourceObjType
  31: oraEMNGEventSourceObjSubType
  32: oraEMNGEventSourceObjOwner
  33: oraEMNGEventCAJobName
  34: oraEMNGEventCAJobStatus
  35: oraEMNGEventCAJobOwner
  36: oraEMNGEventCAJobStepOutput
  37: oraEMNGEventCAJobType
  38: oraEMNGEventRuleSetName
  39: oraEMNGEventRuleName
  40: oraEMNGEventRuleOwner
  41: oraEMNGEventSequenceId
  42: oraEMNGEventRCADetails
  43: oraEMNGEventContextAttrs
  44: oraEMNGEventUserComments
  45: oraEMNGEventTypeAttr1
  46: oraEMNGEventTypeAttr2
  47: oraEMNGEventTypeAttr3
  48: oraEMNGEventTypeAttr4
  49: oraEMNGEventTypeAttr5
  50: oraEMNGEventTypeAttr6
  51: oraEMNGEventTypeAttr7
  52: oraEMNGEventTypeAttr8
  53: oraEMNGEventTypeAttr9
  54: oraEMNGEventTypeAttr10
  55: oraEMNGEventTypeAttr11
  56: oraEMNGEventTypeAttr12
  57: oraEMNGEventTypeAttr13
  58: oraEMNGEventTypeAttr14
  59: oraEMNGEventTypeAttr15
  60: oraEMNGEventTypeAttr16
  61: oraEMNGEventTypeAttr17
  62: oraEMNGEventTypeAttr18
  63: oraEMNGEventTypeAttr19
  64: oraEMNGEventTypeAttr20
  65: oraEMNGEventTypeAttr21
  66: oraEMNGEventTypeAttr22
  67: oraEMNGEventTypeAttr23
  68: oraEMNGEventTypeAttr24
  69: oraEMNGEventTypeAttr25
EDESC
Then run:

Code: Select all

service snmptt restart
It should now NOT show up in the unknown log.

Re: Unknown traps

Posted: Fri Jul 10, 2015 11:10 am
by snapon_admin
Yep, that did it, it's showing up in unconfigured objects now. It's showing up as the IP of the host instead of the hostname, but I think that has to be configured on the sender side, yeah? Thanks, I hadn't noticed that the base OID wasn't in there.

Re: Unknown traps

Posted: Fri Jul 10, 2015 11:57 am
by ssax
Ideally it should be changed on the sender side, it has to match exactly though, you could change it for the trap if the hostname is being passed in as a variable but then you would have to change it for all the traps.