DISK UNKNOWN

Jake Solid richardsolid at gmail.com
Thu Jan 10 21:29:19 CET 2008


This is the nrpe.cfg on the monitored box.

pid_file=/var/run/nrpe.pid

server_port=5666

nrpe_user=nagios

nrpe_group=nagios

dont_blame_nrpe=0

debug=0

command_timeout=60

command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c
30,25,20
command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p
/dev/mapper/VolGroup00-LogVol02
command[check_disk2]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p
/dev/mapper/VolGroup00-LogVol00
command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p
/dev/mapper/VolGroup00-LogVol01
command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p
/dev/mapper/VolGroup01-fredVol00
command[check_md]=/usr/lib64/nagios/plugins/check_swraid
command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10
-s Z
command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c
200




On Jan 10, 2008 3:14 PM, Peter Ringe <Peter.Ringe at web.de> wrote:

> Ha Jack,
>
> Check/Show us the command definition in nrpe.cfg on the monitored box.
>
>
> Jake Solid schrieb:
> > 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:|
> >
> > disk3 is filesystem /dev/mapper/VolGroup01-infoVol00  which is mounted
> > on /vservers/colombia/info. This is where the MySQL database reside.
> >
> > 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:
> >
> > 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
> >
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080110/e6dce7b1/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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