On 7 January 2013 08:53, Zheng, Wenjie (Barclay)
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 like the standard
Net-SNMP agent.
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 2
On 7 January 2013 02:45, Zheng, Wenjie (Barclay)
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 library should be taking care of
ilto:dave.shi...@gmail.com] On Behalf Of Dave
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)
wrote:
> I try to use set_en
__
From: "Zheng, Wenjie (Barclay)"
To: Dave Shield
Cc: "net-snmp-cod...@lists.sourceforge.net"
; "net-snmp-users@lists.sourceforge.net"
Sent: Saturday, 5 January 2013 6:51 PM
Subject: RE: SNMP Agent engineboot
Dave
Thanks for your help!
>
On 5 January 2013 13:21, Zheng, Wenjie (Barclay)
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 manager?
You shouldn't need to to
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 curr
On 5 January 2013 03:41, Zheng, Wenjie (Barclay)
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
values in the
request don't match t
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");