From owner-freebsd-questions@FreeBSD.ORG Wed Jun 3 21:33:04 2009 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 DCA1B1065673 for ; Wed, 3 Jun 2009 21:33:04 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id C13828FC13 for ; Wed, 3 Jun 2009 21:33:04 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id 90E4C3C0435; Wed, 3 Jun 2009 14:33:02 -0700 (PDT) Date: Wed, 3 Jun 2009 14:33:02 -0700 From: Chris Cowart To: Reid Linnemann Message-ID: <20090603213302.GM49013@hal.rescomp.berkeley.edu> Mail-Followup-To: Reid Linnemann , Wojciech Puchar , Reid Linnemann , freebsd-questions References: <4A26DBAD.6000005@cs.okstate.edu> <4A26E7CA.6020306@cs.okstate.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="hXth9cGL35Nvpk4x" Content-Disposition: inline In-Reply-To: <4A26E7CA.6020306@cs.okstate.edu> Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Reid Linnemann , Wojciech Puchar , freebsd-questions Subject: Re: An adage for gmirror users 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: Wed, 03 Jun 2009 21:33:05 -0000 --hXth9cGL35Nvpk4x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Reid Linnemann wrote: > Written by Wojciech Puchar on 06/03/09 15:58>> > > i simply have in crontab a script running once per hour: > >=20 > > #!/bin/sh > > /sbin/gmirror status|grep -q DEGRADED && \\ > > mail -s "gmirror failure" myphonenumber@mygsmoperator.pl =20 > Surely you jest! You presume that I have access to cheap, unrestrictive > communications technology ;) In the US, ISPs prevent clients routing > their own mail and text messages are outrageously expensive with our > cell carriers! Seriously though, that's a good idea. Maybe I could have > it wall the message and/or put it in /etc/motd to get my attention. Or simply put daily_status_gmirror_enable=3D"YES" in /etc/periodic.conf and watch your dailies. --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --hXth9cGL35Nvpk4x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iQIcBAEBAwAGBQJKJuwOAAoJEIGh6j3cHUNPB1oP/jLfnChnTmppzqVqBj5JsJX4 qRleKhhBYS1yXxfOp4nXr+g2ub826OS1aPvi0TwLimD1Z1xG1tyQjtMKnoTkG/it Pwrd07utvhNEJa3AW3lvnxdx4FmSg+njTFjFfjKSS+hlKrEBpP3YkIj62i36j8sq Pk6KY0+4Q/S+FOtxiRtdsLh56kefW6oR8Qi8JYZ0FXHO/WioZeP2b5D+GvZ0rSnG D2dR/tR/I6krX+O6aW4iF8wTokx+NbgNsIkYqJEkhPpDCpE9mNMnIMsuihDnivPL eiNnNwfjDvAdb9BFfvXQBtAOz5jii67ziUGFB3kiYv6Jgp9sbLB5cM0VLMC8LdOG 3XZHxzVjiquEpzBaV01Hi+wqcL3iQVyBu34zHYPWhW68qrwUlxkO9qXWV8F86q0y Ced29F1ZIL4Cu0wZXqBRXlBAd2OlWWSwG/ht8nU0cOI0IQ1EBex3FTI8ipi5kUJP bOvWASsveZ/OMx/hTrzN6+VyxaHRVZlrzXHwBOYqmtk3oDOC04GCT4+hMRkND+1R N6xq7BotlFJ/Ak1vjDrCTvGx7r2UF4Ua2bdy49vjhqWHJNYk9q+f1KS9fIQNuO2J jOLP/0qS+xO6Q0sS1L7faXNnXBgMncKm8I/qwbf18ajy84oVSfdC++BdZTOAAsS4 wNLqzatxvTR2C7JDeJJ9 =4i64 -----END PGP SIGNATURE----- --hXth9cGL35Nvpk4x--