Examples of scripts execution
The following shows examples of the scripts execution during this integration:
1. Executing script - encryptprops.sh
/opt/IBM/taddm/dist/bin/encryptprops.sh $COLLATION_HOME2.Executing script – runBigFixDisocvery.sh
TADDM Server – 9.167.42.227 (Linux)
BigFix server – 10.160.161.195 (windows)
BigFix endpoints – 10.160.161.196 (windows)
10.160.161.212 (windows)
Scope – ASD (having both BigFix endpoints)
Profile - ASD (having sensors mentioned in section 2.2)
Configuration - done as per section 3.
a. Start discovery:
[taddmusr@nc042227 bin]$ ./runBigFixDiscovery.sh -d -o /tmp -p ASD -s ASD
BigFix Action will be applied total [1] times with [P1D] interval
Task created on BES server with Name [20170828083852] and Action created with ID [633]
DISCOVER: LAUNCH OK
The Bigfix Discovery script exited successfully.
b. Task Name – 20170828083852, Action id – 633
c. Start
Poll:
[taddmusr@nc042227 bin]$ ./runBigFixDiscovery.sh -p -i 633
Repeatedly poll the BigFix Action [1] number of times for every [1] seconds
Total [2] Computers returned for Action with ID [633] has status: Open
Total [1] computers with status : The action executed successfully.
[Hostname] [Apply Count] [Line Number] [Start Time] [End Time]
[PNC161196] [1] [98] [Mon, 28 Aug 2017 14:43:56 +0000] [Mon, 28 Aug 2017 14:44:11 +0000]
Total [1] computers with status : The action failed.
[Hostname] [Apply Count] [Line Number] [Start Time] [End Time]
[PRODUCTIONWASB] [1] [37] [Mon, 28 Aug 2017 07:40:26 +0000] [Mon, 28 Aug 2017 07:40:26 +0000]
POLL FINISHED
The Bigfix Discovery script exited successfully
Start
Cleanup:
[taddmusr@nc042227 bin]$ ./runBigFixDiscovery.sh -c
CLEANUP TASK FOUND: TADDMCLEANUP with ID: 2067
Cleanup Action created with ID: [2068]
CLEANUP: LAUNCH OK
The Bigfix Discovery script exited successfully
Start
Rediscovery:
[taddmusr@nc042227 bin]$ ./runBigFixDiscovery.sh –r –i 20171117085907
TASK FOUND : 20171117085907 with ID : 2075
Action created with ID: [2086]
REDISCOVERY: LAUNCH OK
The Bigfix Discovery script exited successfully.