Date: Wed, 3 Jun 2009 14:33:02 -0700 From: Chris Cowart <ccowart@rescomp.berkeley.edu> To: Reid Linnemann <lreid@cs.okstate.edu> Cc: Reid Linnemann <lreid@webmail.cs.okstate.edu>, Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: An adage for gmirror users Message-ID: <20090603213302.GM49013@hal.rescomp.berkeley.edu> In-Reply-To: <4A26E7CA.6020306@cs.okstate.edu> References: <4A26DBAD.6000005@cs.okstate.edu> <alpine.BSF.2.00.0906032256170.27604@wojtek.tensor.gdynia.pl> <4A26E7CA.6020306@cs.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 </dev/null >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090603213302.GM49013>