[Nagiosplug-help] how can i check root partition space ofaremotehost

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Mon Dec 4 13:49:05 CET 2006


> -----Original Message-----
> From: nagiosplug-help-bounces at lists.sourceforge.net
[mailto:nagiosplug-help-bounces at lists.sourceforge.net]On Behalf
Of Doctor Doo
> Sent: Monday, December 04, 2006 1:29 PM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: Re: [Nagiosplug-help] how can i check root partition
space ofaremotehost

> My  check_disk2 command only outputs that - "the disk is
/dev/hdb1 OK" but it does not show any details. 
> actually, i want to know the free space of the "/ " partition
of my remote host. 


My check_disk plug-ins do show a summary of remaining disk space.
In fact they even show performance data (the stuff following the
pipe),
although this seems to make little sense to me as far as disk
space is concerned.

$ /usr/local/nagios/libexec/check_disk -w 10% -c 5% -p /

DISK OK - free space: / 91 MB (45%);| /=110MB;180;190;0;200


Maybe your taciturn output derives from your referencing the
partition instead of the mountpoint?

$ bdf /
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3     204800  111432   92688   55% /

$ /usr/local/nagios/libexec/check_disk -w 10% -c 5% -p
/dev/vg00/lvol3
DISK OK - free space: / 91 MB (45%);| /=110MB;180;190;0;200

No, with my build of check_disk there's no difference,
even if I refer to the "partition" (which in my case is an LVM
volume)

Sorry, all the servers I have to monitor use one or another
incarnation of volume manager
but no legacy partitions.
So I can't reproduce your result.

Maybe if it helps we could compare our release versions?

$ /usr/local/nagios/libexec/check_disk -V     
check_disk (nagios-plugins 1.4) 1.56






More information about the Help mailing list