Trap Handler doesn't work

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

Have you tried TrapDirector? I seem to remember that we used that with some success several years ago…

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

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!

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.

Finding Huawei Mibs it’s very difficult.

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

Maybe ask them/send them a mail?