Run ParseRelaysDotDat.exe - Windows
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1Run ParseRelaysDotDat.exe - Windows9/10/2015 4:56:23 PM
2Run ParseRelaysDotDat.exe - Windows9/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

ID6206
StatusAlpha - Code that was just developed
TitleRun ParseRelaysDotDat.exe - Windows
DomainBESC
SourceInternal
Source Release Date9/10/2015 12:00:00 AM
Added by on 9/10/2015 4:59:34 PM
Last Modified by on 9/10/2015 4:59:34 PM
Counters 5920 Views / 95 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

Used in 93 fixlets and 2 analyses   * Results in a true/false
Show indented relevance
version of client >= "6.0"
isWindows (Relevance 1172)
Used in 1152 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 2 fixlets   * Results in a true/false
Show indented relevance
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/565
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))
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!