Version 3 (modified by trac, 7 years ago) (diff)

--

CheckProcState This check checks the state of one or more processes on the system and generates a critical state if any process is not in the required state {|border="1" !Option!!Values!!Description

ShowAll A flag to toggle if all process states should be listed.
ShowFail?(default)A flag to indicate if only failed process states should be listed.
process=state A process name and a state the process should have. The state can be either started or stopped. If no state is given started is assumed. The name is the name of the executable.

|}

==Examples ==

Check that quake.exe is not running and NSClient++.exe is running:

checkProcState ShowAll quake.exe=stopped NSClient++.exe=started quake.exe : Stopped - NSClient++.exe : Running

Check that quake.exe is not running and my.exe and NSClient++.exe is running and only show problems:

checkProcState my.exe quake.exe=stopped NSClient++.exe=started my.exe : Stopped