Hello.

First of all, thank for reading my question. I have asked this question in
snmp-users mailing list without success.I hope somebody can help me.

I've configured a trapsink in snmpd.conf. As long as I understand, trapsink
instructs snmpd to send snmpv1 traps.
Then from an agentx connected subagent I send a trap:

    send_enterprise_trap_vars( SNMP_TRAP_ENTERPRISESPECIFIC, 44,
&enterprise, enterprise_size, myvars );

With a sniffer I can see a trap with two variables bind, one is mine, I
mean it was in 'myvars'; the other variable is
SNMPv2-MIB::snmpTrapEnterprise.0.

Surprisingly, if I compile the subagent with version 5.0.8 libraries, the
extra variable (SNMPv2-MIB::snmpTrapEnterprise.0) is not sent.

The questions are:
  - is this variable supposed to be sent in an snmpv1 trap?
  - what can I do to ask snmpd to avoid sending it?

Thanks in advance


Juan Carlos Franzoy
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World™ now supports Android™ Apps 
for the BlackBerry® PlayBook™. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to