Re: hrSystemUptime gives wrong result under Windows box
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Oct 27, 2009 at 6:18 AM, malar vizhi <[email protected]> wrote: > hrSystemUptime gives wrong result under Windows box. But its giving > accurate result under linux box. Why so??. > > $ uptime > 10:48:37 up 1 day, 55 min, 0 users, load average: 0.00, 0.00, 0.00 > > C:\>snmpget -v 1 -c public localhost .1.3.6.1.2.1.25.1.1.0 > HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (89727265) 10 days, > 9:14:32.65 > > "uptime" command gives a correct uptimeof my windows machine. But the snmp > gives me totally different value. > Which implementation of the HOST-RESOURCES-MIB are you using ? The one included with Net-SNMP or Microsoft's implementation via WinExtDLL ? If you don't know the answer to this question, please post the contents of the c:\usr\registeragent.bat file you are using. The variable called 'additionaloptions' in this file specifies which of the two HOST-RESOURCES-MIB implementations is loaded. Bart. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users