Configure BESChildProcessKiller Ignore Process List
0 Votes |
Description
This Task configures the client settings involved with the BESChildProcessKiller task. Two settings are configured -
-
BESClient_ChildProcess_ExcludeList
- a Semicolon-separated list of process names that should not not be considered for stuck process killing. These processes, their parent processes, and their parent's parent's process will not be killed. Example "process1.exe;process2.exe"
This identifies specific process names that are spawned by BESClient, expected to run for long durations, and will not be killed by BESChildProcessKiller. An example would be rbagent.exe on a BigFix OS Deployment Server. The logic to include the process itself, its parent process, and its parent's parent process, ensures that in a process tree resembling
- 1234, besclient.exe
- 5678, cmd.exe (task.cmd)
- 6789 cmd.exe (task2.cmd)
- 7891 rbagent.exe
..that if "rbagent.exe" is excluded, the "cmd.exe" grandparent process will not be killed.
Property Details
23048 | |
Alpha - Code that was just developed | |
Configure BESChildProcessKiller Ignore Process List | |
BESC | |
Internal | |
12/12/2016 12:00:00 AM | |
BESChildKiller, Client, Process, Stuck, Client Setting | |
True | |
JasonWalker on 12/12/2016 1:07:08 PM | |
JasonWalker on 12/12/2016 1:07:08 PM | |
4215 Views / 12 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
Actions
Action 1
Action Link Click
here to set or clear the BESClient_ChildProcess_ExcludeList value
Script Type
BigFix Action Script
// Setup the "current" timeout value for the client
action parameter query "BESClient_ChildProcess_ExcludeList" with description "Enter a list of processes to exclude" and with default value "process1.exe;process2.exe"
if {parameter "BESClient_ChildProcess_ExcludeList" as trimmed string != ""}
setting "BESClient_ChildProcess_ExcludeList"="{parameter "BESClient_ChildProcess_ExcludeList"}" on "{parameter "action issue date" of action}" for client
else
setting delete "BESClient_ChildProcess_ExcludeList" on "{parameter "action issue date" of action}" for client
endif
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |