[AGENT++] duplicate traps received by snmptrapd
Razvan Cojocaru
razvan.cojocaru at kaspersky.ro
Mon Apr 16 12:50:55 CEST 2007
Hello.
For this code in a succesfully registered subagent:
coldStartOid coldOid;
mib_->notify("", coldOid, NULL, 0); // coldstart notification
I get two traps for the price of one :-) at snmptrapd:
2007-04-16 13:43:27 localhost [192.168.0.12] (via UDP:
[127.0.0.1]:32804) TRAP, SNMP v1, community public
NET-SNMP-TC::linux Cold Start Trap (0) Uptime: 0:13:57.11
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-TC::linux
2007-04-16 13:43:27 localhost [192.168.0.12] (via UDP:
[127.0.0.1]:32806) TRAP, SNMP v1, community public
NET-SNMP-TC::linux Cold Start Trap (0) Uptime: 0:13:57.11
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-TC::linux
Am I doing something wrong? The subagent is written with AgentX++ and
the master agent is snmpd from Net-SNMP.
Thanks.
--
Razvan Cojocaru
KeyID: 1024D/04CA34DE
More information about the AGENTPP
mailing list