Discussion:
SNMP extension agent error
(too old to reply)
d***@gmail.com
2006-10-09 12:24:40 UTC
Permalink
Hi all,
I am currently developing a windows SNMP extension agent. I built a
sample agent using MSDN as the guide and built an extension agent DLL.
I tried to create registry entries in the
SNMP service\parameters\ExtensionAgents\myAgent and restarted and when
I tried to query my agent with the OID, I received error msgs and later
from the windows event viewer, I found the problem and solved it by
changing the DLL into an multithreaded one.

Now there are no errors logged in the Event Viewer, which means that my
SNMP extension agent has been successfully loaded by the SNMP service.
But when I try to send GetRequest messages, I get the following error:

******************************************************************************
Sent get request to 192.168.3.97 : 161
Request Failed: Get Response PDU received from 192.168.3.97
Error Indication in response: There is no such variable name in this
mib.
Errindex: 1
******************************************************************************

I am using AdventNet MibBrowser. I found from the troubleshooting notes
and tried other means to solve it but was not succesfult.
Can anyone please tell the steps involved to configure a SNMP extension
agent with SNMP service????
Also how do I tell the SNMP service that my SNMP extension agent uses a
PARTICULAR OID (e.g. 1.3.6.1.4.1.9999) ?

I would really appreciate your help.
Thanks,
Daniel
Arkady Frenkel
2006-10-10 09:44:19 UTC
Permalink
Ask additionally on comp.protocols.snmp
Arkady
Post by d***@gmail.com
Hi all,
I am currently developing a windows SNMP extension agent. I built a
sample agent using MSDN as the guide and built an extension agent DLL.
I tried to create registry entries in the
SNMP service\parameters\ExtensionAgents\myAgent and restarted and when
I tried to query my agent with the OID, I received error msgs and later
from the windows event viewer, I found the problem and solved it by
changing the DLL into an multithreaded one.
Now there are no errors logged in the Event Viewer, which means that my
SNMP extension agent has been successfully loaded by the SNMP service.
******************************************************************************
Sent get request to 192.168.3.97 : 161
Request Failed: Get Response PDU received from 192.168.3.97
Error Indication in response: There is no such variable name in this
mib.
Errindex: 1
******************************************************************************
I am using AdventNet MibBrowser. I found from the troubleshooting notes
and tried other means to solve it but was not succesfult.
Can anyone please tell the steps involved to configure a SNMP extension
agent with SNMP service????
Also how do I tell the SNMP service that my SNMP extension agent uses a
PARTICULAR OID (e.g. 1.3.6.1.4.1.9999) ?
I would really appreciate your help.
Thanks,
Daniel
Loading...