Subject: Re: anyone using net-snmp?
To: Dick Davies <>
From: Greg A. Woods <>
List: netbsd-users
Date: 12/07/2004 15:22:08
[ On Tuesday, December 7, 2004 at 12:32:16 (+0000), Dick Davies wrote: ]
> Subject: anyone using net-snmp?
> I've just started playing with net-snmp, and noticed a quirk with our net-snmp
> package - local disks do'nt show up in hrStorageXXXX. See output below

Did you configure snmpd?  I.e. did you do what the MESSAGE file says and
run "/usr/pkg/bin/snmpconf -g basic_setup" to generate an snmpd.conf in
the right place?

With net-snmp-5.1.2, and a proper snmpd.conf, it works OK for me:

$ snmpwalk -v 1 building hrStorageDescr 
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /var
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /usr/pkg
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: /tmp
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: /home
HOST-RESOURCES-MIB::hrStorageDescr.9 = STRING: /work
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: /cvs
HOST-RESOURCES-MIB::hrStorageDescr.11 = STRING: /build
HOST-RESOURCES-MIB::hrStorageDescr.12 = STRING: /kern
HOST-RESOURCES-MIB::hrStorageDescr.13 = STRING: /proc
HOST-RESOURCES-MIB::hrStorageDescr.14 = STRING: /fdesc
HOST-RESOURCES-MIB::hrStorageDescr.17 = STRING: /most/distfiles
HOST-RESOURCES-MIB::hrStorageDescr.18 = STRING: /most/var
HOST-RESOURCES-MIB::hrStorageDescr.19 = STRING: /most/big1

I don't seem to have specified anything specific for the
host-resources-mib in the configuration, though there are some
filesystem percentage thresholds in there for the ucd-snmp-mib.

There are other bugs though that'll cause it to dump core, at least on
the alpha -- and they can be triggered by a simple "snmpwalk" without a
starting OID.....  On i386 the daemon just seems to go catatonic.

						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <>
Planix, Inc. <>          Secrets of the Weird <>