Run ParseRelaysDotDat.exe - Windows
0 Votes |
Versioning - This is the latest version.
1 | Run ParseRelaysDotDat.exe - Windows | 9/10/2015 4:56:23 PM |
2 | Run ParseRelaysDotDat.exe - Windows | 9/10/2015 4:59:34 PM |
Description
This task is designed to run periodically to update the contents of a results_ParseRelaysDotDat.log file in the BES Client log directory. This file can then be read by an analysis.
Property Details
6206 | |
Alpha - Code that was just developed | |
Run ParseRelaysDotDat.exe - Windows | |
BESC | |
Internal | |
9/10/2015 12:00:00 AM | |
jgstew on 9/10/2015 4:59:34 PM | |
jgstew on 9/10/2015 4:59:34 PM | |
5920 Views / 95 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
version of client >= "6.0"
isWindows (Relevance 1172)
windows of operating system
Used in 2 fixlets | * Results in a true/false |
not exists files "results_ParseRelaysDotDat.log" whose( (now - creation time of it) < 3*day ) of folders "Logs" of folders "__Global" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client))
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Reference: https://bigfix.me/fixlet/details/565Success Criteria
prefetch ParseRelaysDotDat.exe sha1:09406da1a69524af33937339b4ea8c071ccd99e3 size:320512 http://software.bigfix.com/download/bes/util/ParseRelaysDotDat.exe
utility __Download\ParseRelaysDotDat.exe
delete {pathname of folders "temp" of windows folders}\ParseRelaysDotDat.exe
copy __Download\ParseRelaysDotDat.exe {pathname of folders "temp" of windows folders}\ParseRelaysDotDat.exe
// http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/redirection.mspx?mfr=true
// command.exe>output.log 2>&1
waithidden cmd /C {pathname of folders "temp" of windows folders}\ParseRelaysDotDat.exe "{ pathname of files "Relays.dat" of folders "actionsite" of data folders of client }">__Download\results_ParseRelaysDotDat.log 2>&1
delete "{ pathname of folders "Logs" of folders "__Global" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client)) }\results_ParseRelaysDotDat.log"
copy "{ download path "results_ParseRelaysDotDat.log" }" "{ pathname of folders "Logs" of folders "__Global" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client)) }\results_ParseRelaysDotDat.log"
// Read the raw result data with the following relevance:
// ( concatenations " ;; " of ( preceding text of first ":" of it & "=" & (it as trimmed string) of following text of first ":" of it) of (it; previous line of it; next line of it; next line of next line of it; next line of next line of next line of it) ) of lines whose(it starts with "Name:") of files "results_ParseRelaysDotDat.log" whose( (now - creation time of it) < 3*day ) of folders "Logs" of folders "__Global" of ((data folder of client)|(folder "/var/opt/BESClient/__BESData")|(folder "/Library/Application Support/BigFix/BES Agent/__BESData")|(folder "__BESData" of parent folder of client))
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |