RE: HOST-RESOURCES-MIB

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC087E5300@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of diogo vargas marcos
> Sent: Thursday, May 08, 2008 6:36 AM

> How can I get the HOST-RESOURCES-MIB::hrSystemUpt
> ime.0 value from net-snmp-5.4.1-3.win32 ?

	snmpget -v 1 -c public localhost HOST-RESOURCES-MIB::hrSystemUptime.0

> How can I import the HOST-RESOURCE0MIB in net-snmp agent for windows ?

	We can tell you how to make the MIcrosoft agent data appear readable from the net-snmp host by proxy, but I do not believe anyone has ever posted a way to do the reverse.  We know Net-SNMP, not that *other* agent (bleah!).

> Using Microsoft SNMP agent I got timeticks in miliseconds, 
> like code above:
> C:\usr\bin>snmpwalk -v 1 -c public localhost 
> HOST-RESOURCES-MIB::hrSystemUptime.0
> HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (4317390) 
> 11:59:33.90.
> Timeticks doens`t match with the time besides ...

	Timeticks is not a clock, it is elapsed time.  A tick is 1/00 second, so your agent has been running for 43173.9 seconds, or about twelve hours.

> Whats wrong  ?

	Nothing, so far as I can tell.


	HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.