Hello, A bit curious as to why you would want to: check_nrpe ... -c checkProcState -a MaxCritCount=50 svchost.exe=started (replace 50 and svchost.exe with your values of choice) would I think do what you want it to.
But to answer your question nsclient++ will only return each process once so that script will not work (I think). If you want I might be talked into adding support for NC_net, but I tend to favor NRPE myself as it is "more flexible"... // MickeM > Has anyone used the following script with NSClient++, instead of NC_net? > > http://nagiosexchange.altinity.org/nagiosexchange/check_proc_count_nt/check_proc_count_nt > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________ > 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
