How to check disk space on devfs?

Dezider Góra gora at wittmann.sk
Mon Mar 8 19:46:59 CET 2004


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.



-------------------------------------------------------
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_id=1470&alloc_id=3638&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