On 7 January 2013 02:45, Zheng, Wenjie (Barclay)
barclay.zh...@alcatel-lucent.com wrote:
What I did is to store the engineboot somewhere else from Agent,
when agent restarts will read the last engineboot and increase 1,
and response with new engineboot=2
But that's exactly what the Net-SNMP
Hi Dave
Thanks for your response!
I am using net-snmp provided agent. But I didn't aware that snmp agent has this
functionalty, and from my test result. It's not working.
I didn't read the snmpv3_store thoroughly, is the old engineboots saved in the
config file?
Thanks,
Barclay
On 7 January
On 7 January 2013 08:53, Zheng, Wenjie (Barclay)
barclay.zh...@alcatel-lucent.com wrote:
I am using net-snmp provided agent.
Now I'm confused.
When you first posted, you said
I am trying to implement an SNMP agent using net-snmp APIs
and the code that you listed there doesn't look much
: RE: SNMP Agent engineboot
Dave
Thanks for your help!
But when this process re-started, and there is another request comes in,
SNMP agent will replies error:usmstatus not in timewindow.
That is correct - an SNMPv3 request will fail if the boot time/count
values in the
request don't match
Shield
Sent: 2013年1月6日 1:56
To: Zheng, Wenjie (Barclay)
Cc: net-snmp-cod...@lists.sourceforge.net; net-snmp-users@lists.sourceforge.net
Subject: Re: SNMP Agent engineboot
On 5 January 2013 13:21, Zheng, Wenjie (Barclay)
barclay.zh...@alcatel-lucent.com wrote:
I try to use set_enginetime() by set
On 5 January 2013 03:41, Zheng, Wenjie (Barclay)
barclay.zh...@alcatel-lucent.com wrote:
But when this process re-started, and there is another request comes in,
SNMP agent will replies error:usmstatus not in timewindow.
That is correct - an SNMPv3 request will fail if the boot time/count
Dave
Thanks for your help!
But when this process re-started, and there is another request comes in,
SNMP agent will replies error:usmstatus not in timewindow.
That is correct - an SNMPv3 request will fail if the boot time/count
values in the
request don't match the agent's idea of the
On 5 January 2013 13:21, Zheng, Wenjie (Barclay)
barclay.zh...@alcatel-lucent.com wrote:
I try to use set_enginetime() by set the engineboots to a value stored in
out side of agent.
I don't understand what you are trying to do here.
Is this call to 'set_enginetime' in the agent, or in the
Hi Everyone,
Happy new year 2013!
I am trying to implement an SNMP agent using net-snmp APIs,I use below method
to setup SNMP agent process, called SNMP_agt.
snmp_set_do_debugging(1);
snmp_enable_stderrlog();
init_agent(SNMP_agent);