Let me preface this by saying that I'm relatively new to Net-SNMP. I've
tried to find a solution to my specific problem in the mailing list
archives, but no luck. I'm using version 5.4.1, on Redhat Linux - 

I guess you would call my traps "enterprise" traps, as I've defined them
in the MIB tree under our enterprise number.  I have a fairly simple
trap AgentX daemon, and am using send_v2traps to send out my traps, but
so far I haven't been able to see my traps with snmptrapd (running on
the same system). Based on debug output, I know that send_v2trap is
being called when the event occurs. The trap-specific support was
generated using mib2c, so the OID's should be correct. 

If I send one of my traps from the shell using snmptrap, the trap is
seen by snmptrapd, which tells me that the security and trap2sink
options are configured correctly to allow the traps to be delivered.

Oh, and to add one more odd twist - I have a 3rd party MIB browser
running on a separate client; it can see the standard traps from my
system (the "coldStart" and "nsNotifyShutdown" traps, for example), but
it can't see my traps at all, regardless of how they are generated on
the system (either through my daemon or from the command line). My MIB
is loaded in the browser, and I am able to walk the MIB items supported
by my other agents running on the system.

I built SNMP with the following configuration options (I don't know if
any of these would impact sending my traps as opposed to standard system
traps):

        --without-rpm
        --with-out-mib-modules="ucd-snmp disman/event disman/schedule"

Do I have to have the disman stuff if I'm not using that mechanism for
traps? We want to release our SNMP support with just a minimum of the
standard MIBs, so I'm actually looking to remove even more module
support if possible.

So any ideas where to look? What I might have set up incorrectly? I can
post snippets of code, my .conf files, my MIB, anything else that might
help. I've been stuck on this issue for several days now! 

Thanks in advance for any advice!

~ wendy

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to