Failure to load a 64 bit SNMP extension agent DLL (Windows Server 2008 R2)

답변됨 Failure to load a 64 bit SNMP extension agent DLL (Windows Server 2008 R2)

  • Montag, 4. Februar 2013 10:51
     
     
    Hi,

    I have, in the past, used a 32 bit SNMP extension agent DLL on Windows Server 2003, without any problems [(32 bit) snmp.exe -> (32 bit) SNMP extension agent DLL) ].

    On Windows Server 2008 R2, I can use the 32 bit DLL [ (64 bit) snmp.exe -> (32 bit) snmp.exe -> (32 bit) SNMP extension agent DLL) ], but I have realized that there is a significant limitation in this arrangement. To send out a trap, the SNMP extension agent DLL passes the trap to snmp.exe, which in turn sends the trap out on the network to the intended destination. This works, but only if the rate at which the SNMP extension agent DLL passes the traps to snmp.exe is slow enough, and this rate seems to be of the order of (about) 8 traps per second. If this rate is exceeded, (32 bit ) snmp.exe starts buffering the traps, and the memory used by snmp.exe grows over time (the same situation on Windows Server 2003 does not cause a problem).

    I built the SNMP extension agent DLL as a 64 bit DLL, so that the arrangement would be [ (64 bit) snmp.exe -> (64 bit) SNMP extension agent DLL) ], but the extension agent DLL does not get loaded, and I can see the following message in the Event Viewer:
    The SNMP Service is ignoring extension agent dll C:\Windows\system32\MySNMPagent.dll because it is missing or misconfigured.
    Event ID : 1102 (SNMP)

    The extension agent ( MySNMPagent.dll ) is certainly not missing, there are no further clues (as far as I can tell) on just how it is misconfigured.

    Is there any way to generate any more debug information? Any idea why this might be happening?

    Thanks for reading this query.

    CD

Alle Antworten