On 4 March 2010 06:34, Jatin Davey <[email protected]> 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 [email protected] 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
