SNMP Traps Working?

Hi,

has any one here successfully setup snmp trap handlers on Libre?

As in custom code to handle custom traps? I played around but it’s such a pain to parse out traps at times I gave up. I was experimenting with Vcenter traps.

I gave up as well

What aspect of customer traps are you struggling with?
Are you able to provide any more information or detail.

Well for me it’s just a matter of time. I’m able to add custom code just fine, but Vcenter itself sends out so much info to parse out it’s not very straight forward.

https://pastebin.com/Mv16pK8R

Other devices are just fine and it works as expected. Just vcenter that makes me want to jump off a building.

@ionline Let us know if you have particular issues with Traps. (Other than vendor issues sending too verbose, or too light traps)

in LibreNMS you need to allow trap handler in the Config file, after allowing it I’m sending traps to my server but nothing is happening.

so I had a look at creating the OID file cause I have all the needed MIB’s but still no success.