Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Feb : SNMP Extension Agent

www.cryer.info
Managed Newsgroup Archive

SNMP Extension Agent

Subject:SNMP Extension Agent
Posted by:"Marcelo Grossi" (magros..@aralia.co.uk)
Date:6 Feb 2008 08:41:41

Hello,

I've built my own SNMP Extension Agent for the Windows SNMP Service. I've put all the registry keys in place to register my dll with windows snmp but my DLL isn't being called. I've put some debug info in there to see if it's being called but it never is.

I use Windows XP and under:

- HKLM\SYSTEM\CurrentControlSet\Services\SNMP\Parameters\ExtensionAgents

I've created a new key with the value set to "SOFTWARE\MyCompayName\MibAgent\CurrentVersion"

After that I've created the respective HKLM\MyCompanyName\MibAgent\CurrentVersion entry and under it I've created a Pathname string with the Full path to my DLL.

Then restarted the SNMP service and no debug log's are being generated (I've tested my debug log and it works just fine).

Any ideas?

Ps.: Does anyone has any example source code for an SNMP Extension Agent DLL in Delphi? It's been such a fight to build one that I wonder if there are easier ways of doing this ...

Thanks in advance,

Marcelo Grossi

Replies:

www.cryer.info
Managed Newsgroup Archive