nrpe issue

Toto Capuccino shoktai at gmail.com
Thu Feb 9 15:11:43 CET 2006


Hi all,

i have installed nrpe service on remote host a win2003 server, the service
just runs fine and i want to start monitorinfg free space on servers.
I have downloaded chec_disk on nagiosexchange and defined the services in
nrpe.cfg as follows:

command[check_disk_c]=cscript.exe //NoLogo //T:10 c:\nrpe\bin\check_disk.wsf
/drive:"c:\" /w:300 /c:100
command[check_disk_d]=cscript.exe //NoLogo //T:10 c:\nrpe\bin\check_disk.wsf
/drive:"d:\" /w:300 /c:100

when i run the check_nrpe on the nagios server from command line all is good
:

../libexec/check_nrpe -H 10.8.1.3 -c check_disk_c
Drive C:\  - Total: 11.72 GB - Free: 3.94 GB (34%) - Used: 7.78 GB (66%)

 ../libexec/check_nrpe -H 10.8.1.3 -c check_disk_d
Drive D:\ Data - Total: 56.08 GB - Free: 25.25 GB (45%) - Used: 30.83 GB
(55%)

I did define nrpe in checkcommands.cfg as follows:
define command{
        command_name    check_nrpe
        command_line       $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
                        }

and run it this way in services.cfg
check_command                   check_nrpe!check_disk_c

but when i run it from Nagios, all i get is a CRITICAL state with ouput
'Connection refused by host'. Actually i started working with nrpe because i
had the same problem with nsclient. Besides the log are empty concerning
this critical state. All checks on disks are refused.

Any ideas.

Cheers
--
Le bon sens est la chose du monde la mieux partagée.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060209/894c4191/attachment.html>


More information about the Users mailing list