NRPE Problem

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Feb 12 06:41:30 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/02/09 02:43 PM, Vasiliy Boulytchev wrote:
> 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!/
> }

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 - http://enigmail.mozdev.org

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
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list