Page 1 of 1

Cannot process traps for MIBs

Posted: Wed Feb 05, 2025 9:29 am
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?

Re: Cannot process traps for MIBs

Posted: Wed Feb 05, 2025 10:57 am
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

Re: Cannot process traps for MIBs

Posted: Wed Feb 05, 2025 8:56 pm
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.

Re: Cannot process traps for MIBs

Posted: Thu Feb 06, 2025 10:25 am
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?

Re: Cannot process traps for MIBs

Posted: Thu Feb 06, 2025 12:16 pm
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.

Re: Cannot process traps for MIBs

Posted: Thu Feb 06, 2025 1:14 pm
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 

Re: Cannot process traps for MIBs

Posted: Thu Feb 06, 2025 3:57 pm
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.