<p>I'm not near a computer right now, but I believe you should be passing the mountpoint to -p, not the block device.</p>
<p>Regards, <br>
Grant </p>
<div class="gmail_quote">On May 30, 2012 8:49 AM, "Leandro Teixeira" <<a href="mailto:leandro.teixeira@conductor.com.br">leandro.teixeira@conductor.com.br</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div bgcolor="#FFFFFF" text="#000000">
Hi!<br>
<br>
I am in need of help with my nagios server here, i don't know what exactly i should do to get warning and critical alarms on the application when monitoring a linux disk. Here are the lines of my commands:<br>
<br>
Nagios server: at check_commands.cfg file<br>
<br>
<br>
<b>command_line /usr/local/nagios/libexec/check_nrpe -H 10.1.1.73 -n -p 5666 -c check_disk9</b><br>
<br>
<br>
On the client server (10.1.1.73), at nrpe.cfg file<br>
<br>
<b><br>
command[check_disk9]=/usr/local/nagios/libexec/check_disk -w 30% -c 10% -p /dev/hdc1</b><br>
<br>
<br>
<br>
Well, the disk goes to 99% usage and not warning and critical alarms... what am I doing wrong?<br>
<br>
The disk are being monitored well, as the nagios server returns me OK every single check of the service.
<br>
 <br>
Thanks for the help<br>
Best regards<br>
<br>
<div>-- <br>






<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Verdana;color:#666666">Leandro Teixeira da Silva</span></b></p>
<p class="MsoNormal"><em><span style="font-size:8.0pt;font-family:Verdana;color:#666666;font-style:normal">Administrador de Redes | Monitoração
</span></em><i><u></u><u></u></i></p>
<p class="MsoNormal"><span><strong><span style="font-size:8.0pt;font-family:Verdana;color:navy">Conductor</span></strong></span><strong><span style="font-size:8.0pt;font-family:Verdana;color:navy">
 Tecnologia S/A </span></strong></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:Verdana;color:#666666">(11)3889 1800 Ramal 5005</span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Navy">Este e-mail, incluindo seus anexos, é confidencial e de uso exclusivo do destinatário. Seu conteúdo não deve ser revelado a terceiros. Caso você não seja o destinatário, por favor, notifique o remetente e elimine esta
 mensagem imediatamente. Alertamos que esta mensagem transitou por rede pública de comunicação, estando, portanto, sujeita aos riscos inerentes a essa forma de comunicação.<br>
</font>
</div>

<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________________<br>
Nagios Plugin Development Mailing List <a href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><br>
Unsubscribe at <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div>