<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
hi <br>
<br>
in your define command, i think it's <br>
<pre wrap="">define command{
        command_name check_nrpe_manual_disk
        command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c
check_manual_disk -a $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ 
        }

and not  -a $ARG1$ $ARG2$ $ARG3$
</pre>
maybe<br>
<br>
regards<br>
Stan<br>
<br>
Thomas Guyot-Sionnest a écrit :
<blockquote cite="mid:4993B68A.1060700@aei.ca" type="cite">
  <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/02/09 02:43 PM, Vasiliy Boulytchev wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Gents,

  I am trying to have Nagios specify which partition to check via
nrpe... and am getting the following error:

DISK CRITICAL - 10 is not accessible: No such file or directory

Here is my configuration:


###############################

define command{
        command_name check_nrpe_manual_disk
        command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c
check_manual_disk -a $ARG1$ $ARG2$ $ARG3$
        }
 
 
 
command[check_manual_disk]=/usr/local/nagios-plugins/libexec/check_disk
-w $ARG1$ -c $ARG2$ -p $ARG3$
 
 
 
 
define service{
        use local-service
        host_name localhost
        service_description Manual Disk /dev/sda1
        check_command check_nrpe_manual_disk!20!10!/
}
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It looks like an extra argument is passed somehow, so check_disk ends up
checking the the path "10" (your warning threshold)", although your
config looks ok. Are you sure NRPE and Nagios have been started with the
most recent config, and there's not more than one instance of Nagios and
NRPE running?

Have you tried running the check trough the command link (check_nrpe)?

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>

iD8DBQFJk7aK6dZ+Kt5BchYRArhiAJ0dYvtmC13zVi0WGHFaWXeB/snukACgr8By
JhACq1XdPD5D2Ay+7IJdzgI=
=Yglg
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>Stanislas LEVEAU</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="author" content="Stanislas Leveau">
<table border="2" cellpadding="2" cellspacing="2" width="400">
  <tbody>
    <tr>
      <td align="center" valign="middle"><font
 face="Helvetica, Arial, sans-serif" size="-2"><font size="-1"><b>LEVEAU
Stanislas</b></font><b><br>
      </b>Rectorat de Caen<br>
SIAC<br>
      </font><font face="Helvetica, Arial, sans-serif" size="-2">168,
rue
Caponière<br>
B.P. 6184<br>
14061 CAEN Cedex</font><br>
      </td>
      <td align="center" valign="middle"><i><font size="-1"><br>
      <br>
Service Informatique de l'académie de Caen<br>
Département Systèmes & Réseaux</font></i><font
 face="Helvetica, Arial, sans-serif" size="-2"><br>
      <br>
      <br>
 Tel : 02.31.30.17.86<br>
      </font><br>
      </td>
    </tr>
  </tbody>
</table>
<br>
<br>
</div>
</body>
</html>