Using NSClient with NRPE

Jim Avery jim at jimavery.me.uk
Thu Mar 4 14:27:40 CET 2010


On 4 March 2010 01:27, Ron Wilson <ron at tvnz.co.nz> wrote:
> 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.


The one I use is...

./check_nrpe -H $HOSTADDRESS$ -u -c CheckProcState -a ShowAll
binaryname.exe=started


hth,

Jim

------------------------------------------------------------------------------
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
_______________________________________________
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