Monitoring software RAID in Debian GNU/Linux

Daniel Guillermo Bareiro daniel-listas at gmx.net
Tue Apr 29 18:49:38 CEST 2008


Hi Hari!

> >>> I'm testing the plugin check_md_raid.pl [1] on Debian GNU/Linux Etch
> >>> and I've removed a member of RAID device with the following commands:
> >>>
> >>> mdadm --manage /dev/md2 --fail /dev/sdb3
> >>> mdadm --manage /dev/md2 --remove /dev/sdb3
> >>>
> >>> But Executing by hand the plugin, it shows the RAID status in OK
> >>> during
> >>> degraded and rebuilding modes:
> >>>
> >>> xenhost7:/usr/local/nagios/libexec/non-std# ./check_md_raid.pl
> >>> RAID OK: All arrays OK
> >>>
> >>> Is it correct to suppose the status would have to be CRITICAL and
> >>> WARNING, respectively?

> >> Try:
> >>
> >> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2418.html;d=1
   
> > Mmmm... It seems that URL is invalid:
> > Category 'Detailed/2418.html;d=1' does not exist.

> Works for me.

> Perhaps you need to copy and paste the entire thing, maybe your mail 
> client is misinterpreting or something.

> Alternatively, search nagios exchange for "check_md_raid", it'll be the 
> only result.

Copying and pasting the link, it works. But this plugin is the one that I 
commented in this thread :-)

I have noticed when removing a member from the raid, running the plugin 
from Nagios server, it show the RAID in degraded state for a moment. But 
soon the plugin shows the RAID in OK state. I observe the same situation 
when adding the member. Initially the script show the RAID in rebuilding 
state, but a new run of the plugin shows OK status before finishing the 
ebuilding. Which can be the problem?

Thanks for your response.

Regards,
Daniel
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list