From owner-freebsd-fs@FreeBSD.ORG Fri Sep 9 06:59:56 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 038B5106564A for ; Fri, 9 Sep 2011 06:59:56 +0000 (UTC) (envelope-from drb@karlov.mff.cuni.cz) Received: from mail.karlov.mff.cuni.cz (mail.karlov.mff.cuni.cz [195.113.27.114]) by mx1.freebsd.org (Postfix) with ESMTP id B32568FC12 for ; Fri, 9 Sep 2011 06:59:55 +0000 (UTC) Received: from nat-r.karlov.mff.cuni.cz ([195.113.27.73] helo=[10.32.82.27]) by mail.karlov.mff.cuni.cz with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1R1v43-000Bse-S1; Fri, 09 Sep 2011 08:59:51 +0200 Message-ID: <4E69B95A.9090906@karlov.mff.cuni.cz> Date: Fri, 09 Sep 2011 08:59:38 +0200 From: =?windows-1252?Q?Tom=E1=9A_Drbohlav?= User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Jeremy Chadwick References: <4E688BE4.8040602@karlov.mff.cuni.cz> <20110909034855.GA70001@DataIX.net> <20110909043601.GA49649@icarus.home.lan> In-Reply-To: <20110909043601.GA49649@icarus.home.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Jason Hellenthal Subject: Re: ZFS monitoring X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 06:59:56 -0000 Hi! Dne 9.9.2011 6:36, Jeremy Chadwick napsal(a): > On Thu, Sep 08, 2011 at 11:48:55PM -0400, Jason Hellenthal wrote: >> >> >> On Thu, Sep 08, 2011 at 11:33:24AM +0200, Tom?? Drbohlav wrote: >>> Hi, >>> >>> Dne 8.9.2011 11:27, Borja Marcos napsal(a): >>>> >>>> Hello, >>>> >>>> Some time ago I wrote a FreeBSD data collector for Orca (www.orcaware.com/orca). Seems it wasn't much of a success, but I use it all the time :) >>>> >>>> I would like to add some ZFS aware monitoring. Any suggestions for key statistics that would be useful to see in graphic form? Something like cache hits/misses, etc. >>> >>> we've got great experience with http://cuddletech.com/arc_summary/ (btw >>> adapted to Nagios), actually, we use some version with added l2 cache stats. >>> >>> Drb >>> >> >> You have considerable missed this then: >> >> >> https://jhell.googlecode.com/files/arc_summary.pl >> >> and the current repository version: >> >> http://bit.ly/arc_summary >> >> Which at this time are essentially the same. >> >> sysutils/zfs-stats is essentially a clone of an older version with >> slight modifications. > > I could have a field day fixing this perl script. Would you like me to > contact you off-list discussing all the problems with it? There are > many (at least 6 just from skimming). It would be at least inspiring if you can shout out your opinion, do not mind in list or by e-mail, as you like. > I would worry if this script was used by something like Nagios natively. I am not sure what you mean 'natively', about 60% of checks made by Nagios for us is written by me, but I do consider it native. Just to be more precise, we push it to RRD through Nagios to see hwo is our ZFS doing. T:D > Major eek. >