[Nagiosplug-help] custom windows check scripts

Rick Garland Rick.Garland at quantum.com
Mon Feb 2 20:51:57 CET 2009


Yes, here I am again.

 

I have the NRPE-NT working and I can use check_nrpe and get a response
of the test.cmd script that is included in the download.

check_nrpe -H <hostname> -c check_hallo

Works fine.

 

I write my scripts in UN*X shell and I run the script under cygwin. From
the cygwin command line my custom script works fine.

If I try to run it from a DOS window it is not an internal command, it
is not recognized. So when I use the check_nrpe against it I get
"NRPE_NT failed to create process, exiting..."

 

How can I have a UN*X type shell script, that runs under cygwin, run
under the NRPE_NT process.

 

Many thanks

 

 

Rick Garland

Sr System Administrator

Quantum, Corp.

8560 Upland Dr.

Englewood, CO  80112

 

office   720-249-5984

cell      720-210-4671

rick.garland at quantum.com

 


-----------------------------------------------------------
The information contained in this transmission may be 
confidential. Any disclosure, copying, or further 
distribution of confidential information is not permitted 
unless such privilege is explicitly granted in writing by 
Quantum Corporation. Furthermore, Quantum Corporation is not 
responsible for the proper and complete transmission of the 
substance of this communication or for any delay in its 
receipt.
------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090202/578247f3/attachment.html>


More information about the Help mailing list