On Wed, 2006-01-18 at 15:18 +0530, Suma C wrote: > The function get_uptime is in snmplib/system.c
<doh> No wonder I couldn't find a system man page for it! OK - checking the logs, 'get_uptime()' seems to go back to the very start of the UCD-SNMP project, and is part of the code we inherited from CMU. Right from the start, this was handled separately from the 'sysUpTime' MIB object, so it looks as we've just developed the two in parallel. I *think* it should just be a matter of tweaking the 'netsnmp_get_agent_uptime()' routine to use get_uptime(), but I wouldn't want to make this tweak with a clearer idea of the implications. I hope that some of the other core developers might chip in here..... Dave ------------------------------------------------------- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
