Cannot process traps for MIBs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
steph007
Posts: 177
Joined: Mon Jul 24, 2017 12:00 pm

Cannot process traps for MIBs

Post by steph007 »

Hi,

I have downloaded the MIB for SVC_MIB_8.7.0 under the manage MIBs section and it's looking good, but it seems not working for processing traps. No Assoc Traps appears. When I try another one, for example, BRIDGE-MIB, I can see 2 Assoc Traps.
what can be the problem?
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Cannot process traps for MIBs

Post by DoubleDoubleA »

Hi @steph007,

Not every MIB has traps defined. Are you sure that one does? If there aren't any traps to process, nothing will happen there. Here's what to look for in a MIB to see if there are traps defined: https://www.ibm.com/docs/en/szs/2.5.0?topic=mib-traps

Aaron
kg2857
Posts: 499
Joined: Wed Apr 12, 2023 5:48 pm

Re: Cannot process traps for MIBs

Post by kg2857 »

Traps are sent by hosts whether mibs are installed or not. Mibs allow snmptt to process the traps. Check your snmp logs to see what traps are arriving and what's happening.
steph007
Posts: 177
Joined: Mon Jul 24, 2017 12:00 pm

Re: Cannot process traps for MIBs

Post by steph007 »

Why make a MIB available if not traps are defined?
I see that I'm receiving the traps into the Unknown Trap Log, but is that mean I have to define it manually for all possible trap I may receive?
kg2857
Posts: 499
Joined: Wed Apr 12, 2023 5:48 pm

Re: Cannot process traps for MIBs

Post by kg2857 »

You need to locate the right mibs for the raps you get. You can search the internet for theiod of an unknown trap to find the mib.
DoubleDoubleA
Posts: 286
Joined: Thu Feb 09, 2017 5:07 pm

Re: Cannot process traps for MIBs

Post by DoubleDoubleA »

steph007 wrote: Thu Feb 06, 2025 10:25 am Why make a MIB available if not traps are defined?
Welcome to the wonderful world of SNMP, where we all count on device manufacturers to do it right and well, and some of them even do. MIB quality is a persistent industry issue.

Beyond industry bashing, some orgs make multiple MIBs available. I'm not saying you will definitely find the trap definitions you are look for in this case, but it might be worth taking a look and see if more MIBs are available and if your traps are in those.

Aaron 
steph007
Posts: 177
Joined: Mon Jul 24, 2017 12:00 pm

Re: Cannot process traps for MIBs

Post by steph007 »

I was trying to leverage my monitoring by adding snmp traps for my storage devices, but I realize that's it's complicated and it's not added value of why I do actually. Actually, I export the syslog to a Linux server and from there, if any error/warning/critical/etc. I pass that to Nagios on a passive service for the Host concerned. I will stay with that. Thanks to all.
Post Reply