Support Questions
Find answers, ask questions, and share your expertise

Not getting alerthost is the SNMP trap

New Contributor

We have configured SNMP alerting from Ambari to Moogsoft using the steps outlined here:
https://community.hortonworks.com/articles/74370/snmp-alert.html


SNMP traps are being sent with valid information but the alerthost is missing.

In the APACHE-AMBARI-MIB.txt file, alerthost is 7:

alertHost OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Affected Host"
::= { apacheAmbariAlertEntry 7 }

In a network capture, .7 is missing:

snmpV2-trap
request-id: 1732929577
error-status: noError (0)
error-index: 0
variable-bindings: 7 items
1.3.6.1.2.1.1.3.0: 971203027
1.3.6.1.6.3.1.1.4.1.0: 1.3.6.1.4.1.18060.16.0.1 (iso.3.6.1.4.1.18060.16.0.1)
1.3.6.1.4.1.18060.16.1.1.1.2: 646174616e6f64655f73746f72616765
1.3.6.1.4.1.18060.16.1.1.1.4: 446174614e6f64652053746f72616765
1.3.6.1.4.1.18060.16.1.1.1.5: 52656d61696e696e672043617061636974793a5b37303138...
1.3.6.1.4.1.18060.16.1.1.1.6:
1.3.6.1.4.1.18060.16.1.1.1.8: 48444653

What have I missed? How can we get the alerthost into the trap from Ambari?


Thanks in advance.

0 REPLIES 0