When I make it:<br><br><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">command[check_disk4]=/usr/lib64/nagios/plugins/check_disk
-w 20% -c 10% -p /vservers/fred/data</span></font></span><br><br>I get the same message:<br><br><span class="HcCDpe">DISK UNKNOWN - free space:|<br><br>Yes, its mounted on </span><span><font face="Times New Roman" size="3">
<span style="font-size: 12pt;">/vservers/fred/data<br><br><b>Note:<br>===<br>These commands work when ran in the monitored host but not from the nagios server:</b><br><br></span></font></span><span><font face="Times New Roman" size="3">
<span style="font-size: 12pt;">/usr/lib64/nagios/plugins/check_disk
-w 20% -c 10% -p /vservers/fred/data<br><br>command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/VolGroup01-fredVol00<br><br></span></font></span><span class="HcCDpe"><br><br></span><br>
<div class="gmail_quote">On Jan 10, 2008 4:45 PM, Petersen, Mark <<a href="mailto:MPetersen@gs1us.org">MPetersen@gs1us.org</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;">
<div link="blue" vlink="blue" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">What if you make it:</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">command[check_disk4]=/usr/lib64/nagios/plugins/check_disk
-w 20% -c 10% -p /vservers/fred/data</span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I can only get check_disk to work on mounted disks using
–p to point to LVM disks, but this is mounted, right? </span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></span></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>
[mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Jake Solid<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, January 10, 2008
3:16 PM<div><div></div><div class="Wj3C7c"><br>
<b><span style="font-weight: bold;">To:</span></b>
<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Nagios-users] DISK
UNKNOWN</div></div></span></font></p>
</div><div><div></div><div class="Wj3C7c">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p style="margin-bottom: 12pt;"><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Yes, its the real
config.</span></font></span><br>
<br>
<span><b><span style="font-weight: bold;">For disk3 I have the
following on nrpe.cfg</span></b></span><br>
<br>
<span>command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w
20% -c 10% -p /dev/mapper/VolGroup00-LogVol01</span><br>
<br>
<span><b><span style="font-weight: bold;">That filesystem is mounted
on /var.</span></b></span><b><span style="font-weight: bold;"><br>
<br>
</span></b><span>/dev/mapper/VolGroup00-LogVol01
16G 957M 14G 7% /var</span><br>
<br>
<span>Nagios is able to monitor /dev/mapper/VolGroup00-LogVol01
with no problems. </span><br>
<br>
<span><b><span style="font-weight: bold;">The one I was having
issues with is:</span></b></span><br>
<span>command[check_disk4]=/usr/lib64/nagios/plugins/check_disk -w
20% -c 10% -p /dev/mapper/VolGroup01-fredVol00</span><br>
<b><span style="font-weight: bold;"><br>
<span>Which is mounted on</span></span></b><span> </span><br>
<span>/dev/mapper/VolGroup01-fredVol00
119G 107G 5.8G 95% /vservers/fred/data</span><br>
<br>
</p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Jan 10, 2008 4:04 PM, Marc Powell <<a href="mailto:marc@ena.com" target="_blank">marc@ena.com</a>>
wrote: </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br>
> -----Original Message-----<br>
> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>
[mailto:<a href="mailto:nagios-users-" target="_blank">nagios-users-</a><br>
> <a href="mailto:bounces@lists.sourceforge.net" target="_blank">bounces@lists.sourceforge.net</a>]
On Behalf Of Jake Solid</span></font></p>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">> Sent: Thursday, January 10, 2008 2:58 PM<br>
> To: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
> Subject: Re: [Nagios-users] DISK UNKNOWN <br>
></span></font></p>
</div>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">> sorry for the
confusion. I usually change some info on the information<br>
i<br>
> provide via email due to security reasons.<br>
><br>
> The real mount point is the following: <br>
><br>
> /dev/mapper/VolGroup01-fredVol<br>
> 00<br>
>
119G 107G 5.8G 95% /vservers/fred/data<br>
></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Please reply in context. You're already making it difficult enough for <br>
people to help by masking required information badly.</span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
><br>
>
command[check_disk3]=/usr/lib64/nagios/plugins/check_disk -w 20%<br>
-c<br>
> 10%<br>
> -p /dev/mapper/VolGroup00-LogVol01 </span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Is this made up or is it the real config? It's wrong if it's real as<br>
indicated previously.</span></font></p>
<div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
--<br>
Marc<br>
<br>
<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>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">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</span></font></p>
</div>
</div>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div></div></div>
</div>
</div>
</blockquote></div><br>