Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1163E636A for ; Thu, 4 Aug 2011 22:00:07 +0000 (UTC) Received: (qmail 81106 invoked by uid 500); 4 Aug 2011 22:00:04 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 80993 invoked by uid 500); 4 Aug 2011 22:00:03 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 80978 invoked by uid 99); 4 Aug 2011 22:00:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 22:00:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tholzer@wetafx.co.nz designates 110.232.144.26 as permitted sender) Received: from [110.232.144.26] (HELO meera.wetafx.co.nz) (110.232.144.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 21:59:56 +0000 Received: from localhost (localhost [127.0.0.1]) by meera.wetafx.co.nz (Postfix) with ESMTP id 6C5B19F0000B; Fri, 5 Aug 2011 09:59:33 +1200 (NZST) X-Virus-Scanned: with amavisd-new by meera at meera.wetafx.co.nz Received: from meera.wetafx.co.nz ([127.0.0.1]) by localhost (meera.wetafx.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b4jE4CDWsbXq; Fri, 5 Aug 2011 09:59:33 +1200 (NZST) Received: from jupiter036.localdomain (webmail.wetafx.co.nz [192.168.120.66]) by meera.wetafx.co.nz (Postfix) with ESMTP id 1914D9F00009; Fri, 5 Aug 2011 09:59:33 +1200 (NZST) Received: from localhost (localhost [127.0.0.1]) by jupiter036.localdomain (Postfix) with ESMTP id 02D0B5BEB64; Fri, 5 Aug 2011 09:59:33 +1200 (NZST) X-Virus-Scanned: amavisd-new at wetafx.co.nz Received: from jupiter036.localdomain ([127.0.0.1]) by localhost (smtp-digi.wetafx.co.nz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aOXPKBnCjLzZ; Fri, 5 Aug 2011 09:59:32 +1200 (NZST) Received: from [192.168.49.114] (boarshead.wetafx.co.nz [192.168.49.114]) by jupiter036.localdomain (Postfix) with ESMTP id DBD4B5BE97A; Fri, 5 Aug 2011 09:59:32 +1200 (NZST) Message-ID: <4E3B1644.4000001@wetafx.co.nz> Date: Fri, 05 Aug 2011 09:59:32 +1200 From: Teijo Holzer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110705 Thunderbird/5.0 MIME-Version: 1.0 To: user@cassandra.apache.org CC: Bart Swedrowski Subject: Re: Last manual repair time References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org That's simple, set your log level to INFO in log4j-server.properties and then do the following: Start of every repair: grep 'Waiting for repair requests:' system.log End of every repair: grep 'No neighbors to repair with' system.log If you perform individual repairs for each keyspace/column family you might need to change the expression in the grep. These definitely catch all the manual repairs, I don't know if any read repairs would show up here as well. Cheers, T. On 04/08/11 21:44, Bart Swedrowski wrote: > Hello, > > I was going through documentation, however couldn't find anything about whether > Cassandra stores somewhere information about when manual repair occurred last > time? I could script it out but before I do this would like to make sure it's > not being kept somewhere already. > > Obviously this information would be quite useful for monitoring purposes (eg. > Nagios). > > Kind regards