<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey guys, thanks for the help<br>
<br>
I found out why this was happening: when i execute the check_disk from de remote server the command returns me with DISK WARNING and the nagios server after using the check_nrpe command was returning DISK OK. I killed the nrpe process and start a new one running
 as a daemon (and using SSL, after some compiling). I removed the '-n' option from both commands and it works. Thanks again and this thread can be closed.<br>
<br>
Regards<br>
<br>
<div class="moz-signature">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="assinatura_arquivos/filelist.xml">
<title>Att,</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>leandro.teixeira</o:Author>
  <o:Template>Normal</o:Template>
  <o:LastAuthor>leandro.teixeira</o:LastAuthor>
  <o:Revision>4</o:Revision>
  <o:TotalTime>2</o:TotalTime>
  <o:Created>2011-03-10T14:58:00Z</o:Created>
  <o:LastSaved>2012-01-06T11:15:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>18</o:Words>
  <o:Characters>98</o:Characters>
  <o:Company>Conductor Tecnologia</o:Company>
  <o:Lines>1</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:CharactersWithSpaces>115</o:CharactersWithSpaces>
  <o:Version>11.9999</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
        {mso-style-name:"Tabela normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<div class="Section1">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:Verdana;color:#666666">Leandro Teixeira da Silva</span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><em><span style="font-size:8.0pt;font-family:Verdana;color:#666666;font-style:normal;
              mso-bidi-font-style:italic">Administrador de Redes | Monitoração
</span></em><i style="mso-bidi-font-style:normal"><o:p></o:p></i></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="SpellE"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;font-family:Verdana;color:#666666">(11)3889 1800 Ramal 5005</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
Em 30/05/2012 15:39, Leandro Teixeira escreveu:
<blockquote cite="mid:4FC66975.10802@conductor.com.br" type="cite">I am not mounting any, the device is a real disk (/dev/hdc1). If I run the command from the shell i got no errors... but no critical or warning is displayed when the disk became full.<br>
<br>
<div class="moz-signature">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="assinatura_arquivos/filelist.xml">
<title>Att,</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>leandro.teixeira</o:Author>
  <o:Template>Normal</o:Template>
  <o:LastAuthor>leandro.teixeira</o:LastAuthor>
  <o:Revision>4</o:Revision>
  <o:TotalTime>2</o:TotalTime>
  <o:Created>2011-03-10T14:58:00Z</o:Created>
  <o:LastSaved>2012-01-06T11:15:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>18</o:Words>
  <o:Characters>98</o:Characters>
  <o:Company>Conductor Tecnologia</o:Company>
  <o:Lines>1</o:Lines>
  <o:Paragraphs>1</o:Paragraphs>
  <o:CharactersWithSpaces>115</o:CharactersWithSpaces>
  <o:Version>11.9999</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
        {mso-style-name:"Tabela normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<div class="Section1">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:Verdana;color:#666666">Leandro Teixeira da Silva</span></b></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><em><span style="font-size:8.0pt;font-family:Verdana;color:#666666;font-style:normal;

                mso-bidi-font-style:italic">Administrador de Redes | Monitoração
</span></em><i style="mso-bidi-font-style:normal"><o:p></o:p></i></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span class="SpellE"><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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:8.0pt;font-family:Verdana;color:#666666">(11)3889 1800 Ramal 5005</span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
Em 30/05/2012 10:39, Daniel Wittenberg escreveu:
<blockquote cite="mid:E71C4532-A3F3-4D9A-B0DE-54953A137CC6@statefarm.com" type="cite">
Actually -M is mountpoint, -p is the path or partition.  What does your 'mount' command return?
<div><br>
</div>
<div>Dan<br>
<div><br>
</div>
<div><br>
<div>
<div>On May 30, 2012, at 4:07 AM, Grant Byers wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<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 moz-do-not-send="true" 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></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"> </p>
</div>
</div>
<br>
<hr>
<font color="Navy" face="Arial">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 moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:Nagiosplug-devel@lists.sourceforge.net">
Nagiosplug-devel@lists.sourceforge.net</a><br>
Unsubscribe at <a moz-do-not-send="true" 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>
------------------------------------------------------------------------------<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 moz-do-not-send="true" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________________">
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________________</a><br>
Nagios Plugin Development Mailing List <a moz-do-not-send="true" href="mailto:Nagiosplug-devel@lists.sourceforge.net">
Nagiosplug-devel@lists.sourceforge.net</a><br>
Unsubscribe at <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel">
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</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</blockquote>
<br>
<hr>
<font face="Arial" color="Navy" size="2">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>
</body>
</html>