How to check disk space on devfs?

Karl DeBisschop karl at debisschop.net
Tue Mar 9 05:23:33 CET 2004


On Mon, 08 Mar 2004 19:46:59 +0100
"Dezider Góra" <gora at wittmann.sk> wrote:

> Hi all,
> 
> I'm starting a nagios monitor and almost ev. is working, but I can't 
> seem to find a way how to get disk free space on disk.
> When I issue df I get
> Filesystem           1k-blocks      Used Available Use% Mounted on
> rootfs                 1509628    886828    592116  60% /
> /dev/root              1509628    886828    592116  60% /
> /dev/hda1                46636      9117     35111  21% /mnt/boot
> 
> /etc/fstab gives me similiar results.
> I get correct disk usage from /dev/hda1, but not from /dev/root. I get
> 
> nonexistant device result from check_disk plugin.
> Is it possible to get disk space from nagios command?

What OS? What version of check_disk? How you invoking check_disk when 
you get this nonexistant device error?

tell us more about rootfs - is it a raid array? LVM or some other volume
manager?

--
Karl


-------------------------------------------------------
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