Using Check_nt to monitor 4 java.exe processes

Jim Avery jim at jimavery.me.uk
Thu Mar 4 14:33:51 CET 2010


On 4 March 2010 06:34, Jatin Davey <jashokda at cisco.com> wrote:
> Hi
>
> I used the following check_nt command to get the running status of a
> process on remote windows machine,
>
> check_nt!PROCSTATE!-d SHOWALL -l java.exe
>
> The process above is java.exe , i have a situation where in i need to make sure that i have 4 java.exe running on a windows box
> if the number of java.exe falls below 4 or increases above 4 i need to get notifications.
>
> Please let me know what command to use in this scenario.
>
> Thanks
> Jatin


If you are using the NSClient++ Nagios agent, you can query using NRPE
instead to get that kind of alert based on the number of processes.
See:

http://nsclient.org/nscp/wiki/CheckProcState

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