Riddle with nrpe

Brian A. Seklecki lavalamp at spiritual-machines.org
Wed Nov 7 16:02:40 CET 2007


On Wed, 2007-11-07 at 12:39 +0100, Jevos, Peter wrote:
> Hi 
> I have a damned problem with nrpe under windows
> Everythink works without any problem but one command can't work.
> Probably it's issue with syntax but after couple of days I gave it up.
> In my nrpe.cfg is command:
> command[check_cmd]=c:\test.cmd
> 
> In the test.cmd is:
> 
> @echo off

If your script runs as a different user than the successful interactive
run, then pscp.exe is most likely stuck at stdin wait loop prompting to
accept the RSA key from the linux server before continuing.


Try logging in as the user you're running the script as (or more
accurately, you're running the nrpe_nt service as)

~BAS


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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