[despammed] Monitoring PERC3/4 using megaraid2

Paul paul at kbs.net.au
Thu Apr 22 17:53:01 CDT 2004


That's megraid 1 if you have /proc/megaraid/0/stat and mailbox config
None of them seem useful, well if you find them useful let me know :)

----- Original Message ----- 
From: "Trevor Marshall" <tmarshall at tirawireless.com>
To: <Linux-PowerEdge at dell.com>
Sent: Friday, April 23, 2004 3:34 AM
Subject: RE: [despammed] Monitoring PERC3/4 using megaraid2


> This seems like a simple solution but I can't locate an 'optimal' string
to search for; my only megaraid servers have perc/dc and perc4/di ..
> [root at apollomail1 root]# ls /proc/megaraid/0/
> config  mailbox  stat  status
>
> And none of these files seem helpful.. 'cat status' shows only "TBD" ,
whatever that means.
> Is this megaraid 1 and not 2?
>
>
> cheers,
> Trev
> -----Original Message-----
> From: Marc Fournier [mailto:mfournier at despammed.com]
> Sent: Friday, April 16, 2004 11:02 AM
> To: Linux-PowerEdge at dell.com
> Subject: Re: [despammed] Monitoring PERC3/4 using megaraid2
>
>
> Hello,
>
>
> > etc - what i need to know though is the string that gets displayed whe a
> > drive dies - I guess 'Offline' but i'd like it if anyone can confim that
or
> > tell me what the actual string is.
> > I can then monitor for the presence of that string and alarm if it is
there.
>
> I just put the following line in root's crontab:
>
> grep -ih state /proc/megaraid/*/raiddrives-* | grep -v optimal
>
> Simple is beautiful ;)
>
> Marc
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq or search the list
archives at http://lists.us.dell.com/htdig/
>
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq or search the list
archives at http://lists.us.dell.com/htdig/
>




More information about the Linux-PowerEdge mailing list