DISK UNKNOWN
Nathanael Hoyle
nhoyle at hoyletech.com
Thu Jan 10 17:17:12 CET 2008
Jake Solid wrote:
> I'm using the check_nrpe to check the space of the filesystems. The
> check_nrpe its able to check the space for all the volumes except one
> of them
>
> [root at nagios plugins]# ./check_nrpe -H vm.domain.com
> <http://vm.domain.com> -c check_disk3
> DISK UNKNOWN - free space:|
>
Don't test as root, test as the nagios user (unless you're running
nagios as root, which you shouldn't be).
> disk3 is filesystem /dev/mapper/VolGroup01-infoVol00 which is mounted
> on /vservers/colombia/info. This is where the MySQL database reside.
What are the mount options in /etc/fstab or similar? What permissions
apply to the mount for what users?
>
> Why is showing DISK UNKNOWN - free space ??
>
> This is how they are mapped:
> =====================
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol02
> 138G 52G 79G 40% /
> /dev/md1 7.8G 153M 7.2G 3% /boot
> tmpfs 14G 0 14G 0% /dev/shm
> /dev/mapper/VolGroup00-LogVol00
> 16G 173M 15G 2% /tmp
> /dev/mapper/VolGroup00-LogVol01
> 16G 974M 14G 7% /var
> /dev/mapper/VolGroup01-infoVol00
> 119G 96G 17G 85% /vservers/colombia/info
>
> If I run the command /usr/lib64/nagios/plugins/check_disk -w 20% -c
> 10% -p /dev/mapper/VolGroup01-infoVol00 from the server that its
> getting monitored it outputs the information ok like the following:
>
Who are you running that as? As root again? What happens if you run
that command on the monitored server as the user running the nrpe process?
> DISK CRITICAL - free space: /vservers/fred/data 6113 MB (5%
> inode=99%);| /vservers/colombia/info =108694MB;96760;108855;0;120951
>
> If I use the mount point when running the line from the monitored
> server it also gives the proper output.
>
> Now, If I use the check_nrpe with the check_disk option from the
> nagios server is when it give incompleted output like the following:
>
> DISK UNKNOWN - free space:|
>
> If specify the mount point in the nrpe.cfg of the monitored server and
> then run the check_nrpe with the check_disk from the nagios server. It
> gives the following:
>
> DISK CRITICAL - /vservers/colombia/info does not exist
What are the directory permissions for /vservers and /vservers/columbia ?
>
> Any inputs?
> ------------------------------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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