Hi all We are using net snmp version 5.1.1 I have this query on sysUptime: As I understand the sysUpTime gives the time since the agent has started.
As I understand from system_mib.c : sysUpTime gets the present time and then compares with the global "starttime" There is a situation in our project : when the system time is changed ,the sysUpTime (quite obviously) shows a wrong time. Is there any way to solve our problem other than rebooting the system! Was there any particular reason that the agent uptime was implemented that way? Can we use the /proc/uptime or even better the library function : get_uptime .....with some changes in the starttime and the functions retrieving the agent uptime!! Thanks in advance Regards Suma ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
