Using NSClient with NRPE

Ron Wilson ron at tvnz.co.nz
Thu Mar 4 02:27:03 CET 2010


I have NSclient on my servers and use NRPE to access client. On the
whole it works fine but I have great difficulty detecting if a windows
process is running or stopped. I have a java.exe that has to run in a
cmd window.

I need to know if that process stops for any reason.

Using command line from Nagios and with Wordpad.exe as a test I have
tried using this

./check_nrpe -H  server01 -p 5666 -c  CheckProcState -a
wordpad.exe=running

 

I get All processes running regardless if Wordpad is open or not.

I have read the manual and tried the various combinations mentioned in
there and it does not help.

Can anyone please supply a command line for NRPE that will tell me when
a windows process is running and when it is stopped I want it to return
critical

 

Thanks

________________________________

--

Ron Wilson

Systems Engineer

Television New Zealand

P.O. Box 3819

Auckland, New Zealand

Phone 649-916-7560

Evolution is a harsh mistress.

________________________________

==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100304/c398b1dd/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
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