'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' "check_process.wsf" ' nagios@samurai.inka.de ' ' 02.06.2003 ver 1.1 ' ' -------------------------------------------------------------- ' Checks If at least one defined process Is running. ' ' Invocation: ' NSClient++ ' win_process=C:\winnt\system32\cscript.exe //NoLogo //T:10 "C:\program files\nrpe\libexec\check_process.wsf" $ARG1$ ' ' NRPE Agent ' command[win_process]=C:\winnt\system32\cscript.exe //NoLogo //T:10 "C:\program files\nrpe\libexec\check_process.wsf" $ARG1$ ' check_process (nrpe_nt-plugin) 1.1 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 1999-2001 Ethan Galstad/Hagen Deike (nagios@samurai.inka.de) Checks If at least one defined process Is running. Example: check_process.wsf /info Will return a list of all processes that are running. The output will look As follows: ID Process ------------------------------- 0 System Idle Process 4 System 1312 smss.exe 1392 csrss.exe 1416 winlogon.exe 1460 services.exe 1472 lsass.exe 1688 svchost.exe [...] To use the plugin you need the string Or the ID that Is returned. In this Case If you wish To monitor the winlogon.exe process you use this command check_process.wsf winlogon.exe Please notice that the String Is Case sensitive