check_disk fails for dev/md0

Lewis Shobbrook lshobbrook at fasttrack.net.au
Fri Mar 5 04:00:20 CET 2004


Thanks for the replies Paul/Michael,
[Paul] 
> > Anyone had any success with check_disk for raid devices.  
> Specifying 
> > /dev/md0 instead of /dev/hda1 in command 
> > check_local_disk!20%!10%!/dev/md0 fails, with unable to read output.
> 
> Works for me.  Have you changed the definition of check_local_disk?
> I have check_disk - w $ARG1$ -c $ARG2$ -p $ARG3$. 
> 
> --
> Paul Allen
> Softflare Support 

[Michael]
>Hi,
>I'm checking /dev/md0 on a remote host with netsaint_statd V3.20
(perl-script) for nearly  >>one year with no problems. What's your
output when you call check_disk from terminal?

>Regards
>Michael

It seems from the console the path argument needed to be changed to -x
for device rather than -p.  Might have something to do with devfs ?


Cheers,

Lewis


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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