1 May 2011 23:26
Re: agent problem
Hi, You could also use AgenPro which provides a simulation agent out-of-the-box and built-in. Have you read the PDF http://www.snmp4j.org/SNMP4J-Agent-1.4-InstrumentationGuide.pdf on how to instrument SET requests? Best regards, Frank On 30.04.2011 08:29, le goualher yannick wrote: > Hello, > > I would like so simulate an SNMP agent because I'd like to create an SNMP > manager and test it with the agent. > I succeeded in creating the snmp manager but i've trouble in creating the > SNMP agent. I read your angent sample code and i succeeded in creating the > basic agent. > > When i make get request from the manager it works but i don't know how to > make set request... and i don't find any documentation on this... > I will join you my code, which is very simple. > > In fact i would like to do 2 things: > - make set request from the manager to the agent > - from the interface of the agent: change values directly from the agent > interface (eg: ap adress)(Continue reading)
I am writing an snmp manager (in snmp4j) which has to deal with several
agents. The communication is snmp v3 so the manager has to get the
engine ids from the agents.
What I do now is that I get the authoritative engine id via
"discoverAuthoritativeEngineID" every time I send an snmp request to the
agent. This has the advantage that in case an agent has to be replaced,
no configuration change has to be made on the manager. However the
drawback is of course the overhead when sending a request.
Does anybody have an "ideal" solution for this?
Regards Wim
____
This message and any files transmitted with it are legally privileged and intended for the sole use of the
individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify
the sender by reply and delete the message and any attachments from your system. Any unauthorised use or
disclosure of the content of this message is strictly prohibited and may be unlawful.
Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL,
unless it is confirmed by appropriately signed hard copy.
Any views expressed in this message are those of the sender.
RSS Feed