Configure BESChildProcessKiller Ignore Process List
Log In or Register to download the BES file, and more.

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

ID23048
StatusAlpha - Code that was just developed
TitleConfigure BESChildProcessKiller Ignore Process List
DomainBESC
SourceInternal
Source Release Date12/12/2016 12:00:00 AM
KeywordsBESChildKiller, Client, Process, Stuck, Client Setting
Is TaskTrue
Added by on 12/12/2016 1:07:08 PM
Last Modified by on 12/12/2016 1:07:08 PM
Counters 4215 Views / 12 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1152 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 33 fixlets and 17 analyses   * Results in a true/false
Show indented relevance
if exists property "in proxy agent context" then not in proxy agent context else true

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:
Share this page on Yammer

Comments

Log In or Register to leave comments!