This is the nrpe.cfg on the monitored box.<br><br>pid_file=/var/run/nrpe.pid<br><br>server_port=5666<br><br>nrpe_user=nagios<br><br>nrpe_group=nagios<br><br>dont_blame_nrpe=0<br><br>debug=0<br><br>command_timeout=60<br><br>
command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10<br>command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20<br>command[check_disk1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p  /dev/mapper/VolGroup00-LogVol02
<br>command[check_disk2]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p  /dev/mapper/VolGroup00-LogVol00<br>command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup00-LogVol01
<br>command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup01-fredVol00<br>command[check_md]=/usr/lib64/nagios/plugins/check_swraid<br>command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z
<br>command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200<br><br><br><br><br><div class="gmail_quote">On Jan 10, 2008 3:14 PM, Peter Ringe <<a href="mailto:Peter.Ringe@web.de">Peter.Ringe@web.de
</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Ha Jack,<br><br>Check/Show us the command definition in nrpe.cfg on the monitored box.
<br><br><br>Jake Solid schrieb:<br><div class="Ih2E3d">> I'm using the check_nrpe to check the space of the filesystems. The<br>> check_nrpe its able to check the space for all the volumes except one of<br>> them
<br>><br>> [root@nagios plugins]# ./check_nrpe -H <a href="http://vm.domain.com" target="_blank">vm.domain.com</a><br></div>> <<a href="http://vm.domain.com" target="_blank">http://vm.domain.com</a>> -c check_disk3
<br><div><div></div><div class="Wj3C7c">> DISK UNKNOWN - free space:|<br>><br>> disk3 is filesystem /dev/mapper/VolGroup01-infoVol00  which is mounted<br>> on /vservers/colombia/info. This is where the MySQL database reside.
<br>><br>> Why is showing DISK UNKNOWN - free space ??<br>><br>> This is how they are mapped:<br>> =====================<br>> Filesystem            Size  Used Avail Use% Mounted on<br>> /dev/mapper/VolGroup00-LogVol02
<br>>                       138G   52G   79G  40% /<br>> /dev/md1              7.8G  153M  7.2G   3% /boot<br>> tmpfs                  14G     0   14G   0% /dev/shm<br>> /dev/mapper/VolGroup00-LogVol00<br>>                        16G  173M   15G   2% /tmp
<br>> /dev/mapper/VolGroup00-LogVol01<br>>                        16G  974M   14G   7% /var<br>> /dev/mapper/VolGroup01-infoVol00<br>>                       119G   96G   17G  85% /vservers/colombia/info<br>>
<br>> If I run the command /usr/lib64/nagios/plugins/check_disk -w 20% -c 10%<br>> -p /dev/mapper/VolGroup01-infoVol00  from the server that its getting<br>> monitored it outputs the information ok like the following:
<br>><br>> DISK CRITICAL - free space: /vservers/fred/data 6113 MB (5% inode=99%);|<br>> /vservers/colombia/info =108694MB;96760;108855;0;120951<br>><br>> If I use the mount point when running the line from the monitored server
<br>> it also gives the proper output.<br>><br>> Now, If I use the check_nrpe with the check_disk option from the nagios<br>> server is when it give incompleted output like the following:<br>><br>> DISK UNKNOWN - free space:|
<br>><br>> If specify the mount point in the nrpe.cfg of the monitored server and<br>> then run the check_nrpe with the check_disk from the nagios server. It<br>> gives the following:<br>><br>> DISK CRITICAL - /vservers/colombia/info does not exist
<br>><br>> Any inputs?<br>><br>><br></div></div>> ------------------------------------------------------------------------<br><div><div></div><div class="Wj3C7c">><br>> -------------------------------------------------------------------------
<br>> Check out the new SourceForge.net Marketplace.<br>> It's the best place to buy or sell services for<br>> just about anything Open Source.<br>> <a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank">
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">
https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>> ::: Messages without supporting info will risk being sent to /dev/null
<br><br></div></div></blockquote></div><br>