[BES Client Settings] - Server Template
0 Votes |
Description
Property Details
26721 | |
Beta - Preliminary testing ready for more | |
[BES Client Settings] - Server Template | |
Brad Sexton | |
9/21/2018 12:00:00 AM | |
bradsexton81 on 11/10/2020 6:48:23 AM | |
bradsexton81 on 11/10/2020 12:48:15 PM | |
2877 Views / 12 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
Used in 11 fixlets | * Results in a true/false |
not exists relay service OR not exists main gather service
Used in 1 fixlet | * Results in a true/false |
( not exists settings "_BESClient_Download_PreCacheStageDiskLimitMB" whose( (it >= 20000) of (it as string as integer) of values of it ) of client ) OR ( not exists settings "_BESClient_Download_NormalStageDiskLimitMB" whose( (it >= 20000) of (it as string as integer) of values of it ) of client ) OR ( not exists settings "_BESClient_Download_DownloadsCacheLimitMB" whose( (it >= 2000) of (it as string as integer) of values of it ) of client ) OR ( not exists settings "_BESClient_Download_MinimumDiskFreeMB" whose( (it >= 2000) of (it as string as integer) of values of it ) of client ) OR ( not exists settings "_BESClient_Comm_CommandPollIntervalSeconds" whose( (it <= 43200) of (it as string as integer) of values of it ) of client ) OR ( not exists settings "_BESClient_Comm_CommandPollEnable" whose( (it = 1) of (it as string as integer) of values of it ) of client ) OR ( not exists settings "__RelaySelect_Automatic" whose( (it = 0) of (it as string as integer) of values of it ) of client ) OR ( not exists setting "_BESClient_RelaySelect_FailoverRelayList" whose (value of it = "DMZRELAYNAME") of client) OR ( not exists setting "_BESClient_Download_Direct_Domainlist" whose (value of it = "") of client) OR (not exists setting "_BESClient_Download_Direct" whose( (it = 0) of (it as string as integer) of values of it ) of client)
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Enter your action script here
// Enable Command Polling if not enabled
if { not exists settings "_BESClient_Comm_CommandPollEnable" whose( (it = 1) of (it as string as integer) of values of it ) of client }
setting "_BESClient_Comm_CommandPollEnable"="1" on "{parameter "action issue date" of action}" for client
endif
// This will set command polling to once every 12 hours, if not already enabled more aggressively
if { not exists settings "_BESClient_Comm_CommandPollIntervalSeconds" whose( (it <= 43200) of (it as string as integer) of values of it ) of client }
setting "_BESClient_Comm_CommandPollIntervalSeconds"="43200" on "{parameter "action issue date" of action}" for client
endif
if{ not exists settings "_BESClient_Download_MinimumDiskFreeMB" whose( (it >= 2000) of (it as string as integer) of values of it ) of client }
setting "_BESClient_Download_MinimumDiskFreeMB"="2000" on "{parameter "action issue date" of action}" for client
endif
if {not exists settings "_BESClient_Download_DownloadsCacheLimitMB" whose( (it >= 2000) of (it as string as integer) of values of it ) of client}
setting "_BESClient_Download_DownloadsCacheLimitMB"="2000" on "{parameter "action issue date" of action}" for client
endif
if {not exists settings "_BESClient_Download_NormalStageDiskLimitMB" whose( (it >= 20000) of (it as string as integer) of values of it ) of client}
setting "_BESClient_Download_NormalStageDiskLimitMB"="20000" on "{parameter "action issue date" of action}" for client
endif
if {not exists settings "_BESClient_Download_PreCacheStageDiskLimitMB" whose( (it >= 20000) of (it as string as integer) of values of it ) of client}
setting "_BESClient_Download_PreCacheStageDiskLimitMB"="20000" on "{parameter "action issue date" of action}" for client
endif
if {not exists setting "__RelaySelect_Automatic" whose( (it = 0) of (it as string as integer) of values of it ) of client}
setting "__RelaySelect_Automatic"="0" on "{parameter "action issue date" of action}" for client
endif
// force a relay selection
relay select
notify client ForceRefresh
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |