Date: Tue, 9 Nov 2010 21:13:52 +0200 From: Omer Faruk SEN <omerfsen@gmail.com> To: FreeBSD <freebsd-questions@freebsd.org> Subject: zfs snmpd disk status Message-ID: <AANLkTik9NvnQYzoyF6ghQFXmGyfViC%2B83KpVOsFOb3ix@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I have a system like: /dev/da0s1a 48G 2.2G 42G 5% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1d 72G 940M 66G 1% /usr opt 547G 14G 534G 2% /opt /opt is a zfs partition snmpd.conf : disk / 10000 disk /opt 10000 Above configuration doesn't work (I only see / partition) snmpwalking UCD-SNMP-MIB::dskTable is as follows: UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1 UCD-SNMP-MIB::dskPath.1 = STRING: / UCD-SNMP-MIB::dskDevice.1 = STRING: /dev/da0s1a UCD-SNMP-MIB::dskMinimum.1 = INTEGER: 10000 UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: -1 UCD-SNMP-MIB::dskTotal.1 = INTEGER: 50777032 UCD-SNMP-MIB::dskAvail.1 = INTEGER: 44430528 UCD-SNMP-MIB::dskUsed.1 = INTEGER: 2284346 UCD-SNMP-MIB::dskPercent.1 = INTEGER: 5 UCD-SNMP-MIB::dskPercentNode.1 = INTEGER: 0 UCD-SNMP-MIB::dskTotalLow.1 = Gauge32: 50777032 UCD-SNMP-MIB::dskTotalHigh.1 = Gauge32: 0 UCD-SNMP-MIB::dskAvailLow.1 = Gauge32: 44430528 UCD-SNMP-MIB::dskAvailHigh.1 = Gauge32: 0 UCD-SNMP-MIB::dskUsedLow.1 = Gauge32: 2284346 UCD-SNMP-MIB::dskUsedHigh.1 = Gauge32: 0 UCD-SNMP-MIB::dskErrorFlag.1 = INTEGER: noError(0) UCD-SNMP-MIB::dskErrorMsg.1 = STRING: Is there anyone in this list achived to get disk usage of a zfs pool? Regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik9NvnQYzoyF6ghQFXmGyfViC%2B83KpVOsFOb3ix>