check mirror status in Solaris

Jeff Scott jeff at skislave.com
Thu Sep 23 18:53:09 CEST 2004


I wrote a simple check_metastat nagios script, needs some work, but at  
least will let you know if you metadevices are having issues.  I've  
attached the script...

Jeff Scott


On Thu, 23 Sep 2004 10:05:52 -0400, <atonns at mail.ivillage.com> wrote:

> I highly recommend metachk. It's what I'm using to check mirror status  
> with
> some custom Nagios plugins:
> http://members.tripod.com/uutil/metachk/
> <http://members.tripod.com/uutil/metachk/>
>
> --
> "Replicants are like any other machine, they're either a benefit or a
> hazard. If they're a benefit, it's not my problem." -- Deckard
> ---------------------------------------------------------
> Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com
>
>
>
>
>    _____
>
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of magadmin
> Sent: Tuesday, September 21, 2004 7:02 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check mirror status in Solaris
>
>
>
> Hi every one,
>
> Did any one try monitor disk mirror status in Solaris 8? I tried it but
> didn't work.
>
> Here what I did:
>
> cat /usr/opt/SUNWmd/sbin/metastat|grep blocks|while read n; do echo  
> $n|grep
> "_"; done | wc -l
>
> The output returns 0 on both computers with and without mirror setup. Can
> any one help me please?
>
> Thank you for reading this post,
>
> Nguyen.
>
> iVillage Inc., 500 Seventh Avenue, New York, NY 10018 -  iVillage Inc.  
> is a
> leading women's media company that includes iVillage.com, Women.com,
> gURL.com, Astrology.com, Promotions.com, iVillage Parenting Network, The
> Newborn Channel, Lamaze Publishing, Business Women's Network, Diversity  
> Best
> Practices, Best Practices in Corporate Communications, and iVillage
> Consulting.  The information contained in this communication may be
> confidential, is intended only for the use of the recipient named above,  
> and
> may be construed under applicable law to be a commercial email.  If you  
> have
> received this communication in error, please delete this message from  
> your
> computer system.  If you are the recipient named above and do not wish to
> receive any future commercial emails, please reply to the sender with a
> message stating such preference.



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_metastat
Type: application/octet-stream
Size: 2327 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040923/842535de/attachment.obj>


More information about the Users mailing list