On Fri, 02 Oct 2009 14:15:51 +1000 Mark wrote:
MW> When a reconfig occurs (ie kill -HUP), the engineBoots value used by the 
agent is incremented internally but the new value is not written back to the 
persistent conf.  engineTime is not reset to zero.  If the agent is then killed 
and restarted, the previous engineBoots is read from the conf file and 
incremented, resulting in the reuse of the last engineBoots value.  To clients 
unaware of the agent restart, this looks like engineTime is being reset.

I see that you submitted a bug (#2894312), thanks for that. I'm surprised that
nobody has responded to it, or this message.

MW> -    register_config_handler(type, "engineBoots", engineBoots_conf, NULL,
MW> -                            NULL);
MW> +    register_prenetsnmp_mib_handler(type, "engineBoots", engineBoots_conf, 
NULL,
MW> +                                    NULL);

I'm not sure that just changing the token handler is the right fix. I'd be
inclined to look into why the new value isn't written back to disk. Wes, any
comments?

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to