How to check disk space on devfs?

Simon Kitching simon at ecnetwork.co.nz
Mon Mar 8 23:09:21 CET 2004


On Tue, 2004-03-09 at 07:46, Dezider Góra 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?
> thanks in advance
> Dezider.

The standard nagios plugins include a check_disk command.

Try check_disk -h for help.

Regards,

Simon




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