# Trap Handler doesn't work

**URL:** <https://community.icinga.com/t/trap-handler-doesnt-work/15370>\
**Category:** Icinga DB\
**Tags:** icingaweb2, director, icinga2\
**Created:** [March 16, 2026, 8:19am UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370 "2026-03-16T08:19:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MRiahi](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@MRiahi](https://community.icinga.com/u/MRiahi)\
**Post date:** [March 16, 2026, 8:19am UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370/1 "2026-03-16T08:19:35Z")

</div>

Hi everyone,

im testing some traps from Huawei OLT with snmp-trap and i received some traps in ICINGA WEB 2.

I would like to create a trap handler for managing all my Huawei OLT inside the Host Group with one trap handler. Is it possible?

I received the first trap from my OLT and i create the handler from it but it doesn’t work.

Any suggestion or help please?

thank you

---

<div class="post-metadata">

**Author:** ![bkai](https://community.icinga.com/user_avatar/community.icinga.com/bkai/32/841_2.png) [@bkai](https://community.icinga.com/u/bkai)\
**Post date:** [March 18, 2026, 6:02pm UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370/2 "2026-03-18T18:02:46Z")

</div>

Have you tried [TrapDirector](https://exchange.icinga.com/patrickpr/trapdirector)? I seem to remember that we used that with some success several years ago…

---

<div class="post-metadata">

**Author:** ![MRiahi](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@MRiahi](https://community.icinga.com/u/MRiahi)\
**Post date:** [March 19, 2026, 9:37am UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370/3 "2026-03-19T09:37:11Z")

</div>

i’m already using TrapDirector but maybe i miss something.

I receive the same Trap OID with difference Additional Data.

Here an example:

the first OLT send a trap with numerical OID: .1.3.6.1.4.1.2011.6.145.3.1.0.3 with addional data: .1.3.6.1.4.1.2011.6.145.2.44.0.

the second OLT send a trap with the same numerical OID but with additional data a little bit different : .1.3.6.1.4.1.2011.6.145.2.44.0.17.65535.7.

So the all trap goes to error.

| Status details | ERR : OID .1.3.6.1.4.1.2011.6.145.2.44.0 not found in trap |
| --- | --- |
| | |

---

<div class="post-metadata">

**Author:** ![bkai](https://community.icinga.com/user_avatar/community.icinga.com/bkai/32/841_2.png) [@bkai](https://community.icinga.com/u/bkai)\
**Post date:** [March 19, 2026, 12:01pm UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370/4 "2026-03-19T12:01:11Z")

</div>

I can’t really help you in detail - it was more than 4 years ago that I last looked at this stuff. From your error text, though · it seems like something is interpreting the additional data as an OID…? Perhaps, alternatively, you could build a reaction on that error text by {grep}ing for particular data/OID and then acting on that within the (event-handling) script. Can’t contribute much more than that (any more), sorry!

---

<div class="post-metadata">

**Author:** ![adn77](https://community.icinga.com/user_avatar/community.icinga.com/adn77/32/7028_2.png) [@adn77](https://community.icinga.com/u/adn77)\
**Post date:** [March 20, 2026, 8:52am UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370/5 "2026-03-20T08:52:54Z")

</div>

Did you install the corresponding MIBs?

You need to find in particular the TRAP entries for your OIDs in those MIBs. Unfortunately most vendors don’t really take good care of their public MIBs.

---

<div class="post-metadata">

**Author:** ![MRiahi](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/439d5e/32.png) [@MRiahi](https://community.icinga.com/u/MRiahi)\
**Post date:** [April 3, 2026, 6:56am UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370/6 "2026-04-03T06:56:40Z")

</div>

Finding Huawei Mibs it’s very difficult.

Im still looking online if i can find some public MIBs, but till now without any result.

---

<div class="post-metadata">

**Author:** ![bberg](https://community.icinga.com/letter_avatar_proxy/v4/letter/b/b782af/32.png) [@bberg](https://community.icinga.com/u/bberg)\
**Post date:** [April 3, 2026, 5:27pm UTC](https://community.icinga.com/t/trap-handler-doesnt-work/15370/7 "2026-04-03T17:27:12Z")

</div>

Maybe ask them/send them a mail?
