I get this:
$ snmptable -v2c -c public localhost HOST-RESOURCES-MIB::hrStorageTable
End of MIB
HOST-RESOURCES-MIB::hrStorageTable: No entries

And the server outputs:
snmpe_parse: 127.0.0.1: SNMPv2 'public' context 5 request 537622771
snmpe_parse: 127.0.0.1: oid iso.org.dod.internet.mgmt.mib_2.25.2.3.1.0
snmpe_parse: 127.0.0.1: invalid varbind element, error index 1

Same for UCD-DISKIO-MIB::diskIOTable.

Also if I do a  snmpwalk -v2c -c  public localhost

I get:
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::mib-2
SNMPv2-MIB::sysORID.2 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.3 = OID: SNMPv2-MIB::snmp
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-SMI::mib-2.17
SNMPv2-MIB::sysORID.5 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORID.6 = OID: SNMPv2-SMI::enterprises.30155.2

I gues this means HOST-RESOURCES-MIB::hrStorageTable and 
UCD-DISKIO-MIB::diskIOTable are not loaded? How can i load them?

Tnx in advance,

Tim

----- Original Message ----
> From: Brian A. Seklecki <[EMAIL PROTECTED]>
> To: Tim Kuijsten <[EMAIL PROTECTED]>
> Cc: misc@openbsd.org
> Sent: Friday, May 9, 2008 1:35:46 AM
> Subject: Re: snmpd
> 
> 
> On Thu, 2008-05-08 at 15:22 -0700, Tim Kuijsten wrote:
> > It looks like there is no info about disk usage, memory usage, load
> > and other sensor stuff. I have no clue where to find the mibs (locate
> > mib or locate .txt | grep snmp have no results) or how to load them..
> 
> That's all in HOST-RESOURCES-MIB and UCD-DISKIO-MIB
> 
> Try:
> 
> $ snmptable -v2c -c [comm] [host] HOST-RESOURCES-MIB::hrStorageTable
> $ snmptable -v2c -c [comm] [host] UCD-DISKIO-MIB::diskIOTable
> 
> The sensor stuff should be committed into the Ports version of Net-SNMP
> by now.  I can get it committed to Pkgsrc if not.  Its just not been at
> the top of my priority list.
> 
> 
> -- 
> Brian A. Seklecki 
> Collaborative Fusion, Inc.



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Reply via email to