This is what I have in snmpd.conf: trapcommunity public trap2sink localhost public 162 trap2sink 10.1.5.2 public 162 trap2sink 10.2.5.2 public 162 trap2sink 10.1.5.5 public 162
<I don't think the port numbers are necessary anymore . . .> I'm running snmptrapd on 10.1.5.5, and it is seeing the heartbeat traps that are being generated by the version of snmpd that I rebuilt this afternoon (configuration: --with-mib-modules="examples/notification"). But when the same system generates one of my traps, nothing gets sent to 10.1.5.5 (and based on my debug output, I know I'm at least calling send_v2trap). I'm beginning to wonder if it's something more to do with the fact that I'm using AgentX. I turned on the debug in snmpd (the token "traps"), and I don't see anything logged from netsnmp_send_traps when my trap code is executed; however, I do see the debug output from the 30 second "heartbeat" trap. Is there some initialization that needs to be done before calling send_v2trap if the call is coming from an AgentX agent? Thanks! ~ wendy -----Original Message----- From: Mike Ayers [mailto:[EMAIL PROTECTED] Sent: Friday, December 14, 2007 2:11 PM To: McGowen, Wendy; net-snmp-users@lists.sourceforge.net Subject: RE: Enterprise trap question/send_v2trap API call > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of McGowen, Wendy > Sent: Friday, December 14, 2007 12:04 PM > Maybe I'm just not seeing the obvious, either in my code or in my MIB, > but I don't understand why my trap isn't being sent. Any > assistance will > be greatly appreciated! How have you configured your destination? Thanks, Mike ------------------------------------------------------------------------- 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