From owner-freebsd-questions@FreeBSD.ORG Tue Nov 9 19:13:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BCEA106566B for ; Tue, 9 Nov 2010 19:13:54 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5AF4B8FC08 for ; Tue, 9 Nov 2010 19:13:54 +0000 (UTC) Received: by gwj16 with SMTP id 16so4756918gwj.13 for ; Tue, 09 Nov 2010 11:13:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=BW+Rr42hzNw9sW7K3023XeJvr9Rl4PqTUq5tneyxVjI=; b=NKKp6lropIPU5jZeo2Cd7ftL4jCNh0tKIARZ8++jowpB62umrXGDuOuZtMCdgL9TMm ol+jNi54oTjNjVFnIBZEbwfFFNZoePlVaQrXZcC/83fUvK57QibUw4LYaW9kn8b9PSKj 3J3fOVH1osx9OjfN5QEnZO0DS0u1XoqJgqdDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EMmSGZPBpyTQf883iW6Q7Mo4PT+3EC6vVH6fk3Qqmluai4QmMztCZqrvZ9edvBYGUa 4kpwJWc+1IeY4FPP6KSeKfwdVC9visf1KEO0aOyf4BkM3ucrI+xxDG/UFEqkoV8uoWtJ O0q/eHbwp/02sJOypFGAtIM6QjmCSB30qPmgc= MIME-Version: 1.0 Received: by 10.150.217.6 with SMTP id p6mr6754392ybg.63.1289330033008; Tue, 09 Nov 2010 11:13:53 -0800 (PST) Received: by 10.150.226.6 with HTTP; Tue, 9 Nov 2010 11:13:52 -0800 (PST) Date: Tue, 9 Nov 2010 21:13:52 +0200 Message-ID: From: Omer Faruk SEN To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Subject: zfs snmpd disk status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 19:13:54 -0000 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.