Run ParseRelaysDotDat.exe - Windows - superseded
0 Votes |
Versioning - This is an older 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
Property Details
6205 | |
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:56:23 PM | |
jgstew on 9/10/2015 4:56:23 PM | |
2970 Views / 77 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
version of client >= "6.0"
version of client >= "6.0"
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
)
)
(
(
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
)
)
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 }">C:\BigFix-Test.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\BigFix-Test.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: |