SNMP Traps Not Properly Received by Windows 2000

This article was previously published under Q253302
This article has been archived. It is offered "as is" and will no longer be updated.
A program that is running in Windows 2000 that uses the SnmpMgrGetTrapEx function to receive Simple Network Management Protocol (SNMP) traps may not appear to be receiving them.
The SnmpMgrGetTrapEx function is defined as follows:
SnmpMgrGetTrapEx(   AsnObjectIdentifier     * pEnterpriseOID,   AsnNetworkAddress       * pAgentAddress,   AsnNetworkAddress       * pSourceAddress,   AsnInteger              * pGenericTrap,   AsnInteger              * pSpecificTrap,   AsnOctetString          * pCommunity,   AsnTimeticks            * pTimeStamp,   SnmpVarBindList        * pVarBindList);				
Two of these parameters (pAgentAddress and pSourceAddress) are not being returned correctly in Windows 2000. pAgentAddress should return the IP address of the SNMP agent as listed in the SNMP Trap PDU, but is instead returning the IP endpoint. pSourceAddress should return the address of the IP endpoint that actually sent the trap, but is instead returning a null address.

Because of this, a program that calls this function discards any traps, making it appear that they where never received.

Two programs known to be affected by this problem are Compaq Insight Manager CIM 32 and Insight XE.
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 1.
The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Article ID: 253302 - Last Review: 10/20/2013 17:12:18 - Revision: 3.3

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000sp1fix KB253302