Another nrpe/bat question

Naumann Folker fnaumann at diakonie-kork.de
Fri Aug 12 14:40:56 CEST 2005


 
Hi,

I have a question/problem concerning check_nrpe and .bat-files

I made a file just for testing with command[test]=c:\test.bat

test.bat
@echo off
echo hello world
exit 0

Now, when i execute check_nrpe directly via

./libexec/check_nrpe -H somehost -c test

it returns hello world, like it should. In Nagios i got a (No output
returned from plugin) message.
I checked service/checkcommand entry and couldn't find an error.

define command{
			command_name check_nrpe
			command_line $USER1$/check_nrpe -H $HOSTADDRESS$
-c $ARG1$
		}

define service{
			host_name somehost
			service_description TEST
			check_command check_nrpe!test
			...
		}

I'm using Nsclient++ 0.2.4d (same result with nrpe_nt) and Nagios 2.0b4.
I hope somebody can help me.


---
Folker Naumann		fnaumann at diakonie-kork.de
Zentrale IT			Diakonie Kork Epilepsiezentrum








-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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