Re: [Nagios-users] Using Check_nt to monitor 4 java.exe processes

2010-03-04 Thread Jim Avery
On 4 March 2010 06:34, Jatin Davey jasho...@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#174; 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@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


[Nagios-users] Using Check_nt to monitor 4 java.exe processes

2010-03-03 Thread Jatin Davey
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



--
Download Intel#174; 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@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