Script Parameter options in different modes
./runBigFixDiscovery.sh (or.bat) is the- TADDM tool to run a BigFix enhanced discovery or to query an existing discovery Action.
Mode: DISCOVER
usage: bin/runBigFixDiscovery.sh -d/--discover [-c <arg>] [-freq <arg>] [-h] [-intr <arg>] -o <arg> -p <arg> -s <arg>
where,
-ac,--actionConstraint <arg> |
File specified with different action constraint related parameter. File should contain below
parameter, with sample values given as example:
This means a script can run on target only when these constraints are met which is starting from
|
-c,--compressMethod <arg> | [Default : ZIP] Possible Values : [ZIP, TAR]. |
-freq,--frequency <arg> | [Default : 1] Number of times discovery needs to be run. |
-h,--help | show help. |
-intr,--interval <arg> | [Default : P1D] Time interval between rerun of discovery. Supported values : [PT15M, PT30M, PT1H, PT2H, PT4H, PT6H, PT8H, PT12H, P1D, P2D, P3D, P5D, P7D, P15D, P30D]. |
-o,--output <arg> | REQUIRED: Output Directory where the Bigfix Discovery Package will be generated. |
-p,--profile <arg> | REQUIRED: Profile name will be used for Discovery Package creation to include sensors. |
-s,--scope | REQUIRED: Scope/ScopeGroup name/s (Comma seperated. Wrap names in quotes that contain spaces). |
Mode: POLL
usage: bin/runBigFixDiscovery.sh -p/--poll [-h] -i <arg> [-r <arg>] [-t <arg>]
where,
-d,--detail <arg> | [Default : true] Polling result for each Endpoint |
-h,--help | show help. |
-r,--repeat <arg> | [Default : 1] Number of times to poll for Action Status |
-i,--id <arg> | REQUIRED: Action ID to POLL |
-t,--timeout <arg> | [Default : 1] Interval between consecutive POLL in seconds. |
Mode: CLEANUP
usage: bin/runBigFixDiscovery.sh -c/--cleanup [-d <arg>] [-h]
where,
-h,--help | show help. |
-d,--days <arg> | [Default : 5] Clean Result Files older than specified number of Days |
Mode: REDISCOVER
usage: bin/runBigFixDiscovery.sh -r/--rediscover [-freq <arg>] [-h] [-intr <arg>]
where,
-freq,--frequency <arg> | [Default : 1] Number of times discovery needs to be run |
-h,--help | show help. |
-intr,--interval <arg> | [Default : P1D] Time interval between rerun of discovery. Supported values : [PT15M, PT30M, PT1H, PT2H, PT4H, PT6H, PT8H, PT12H, P1D, P2D, P3D, P5D, P7D, P15D, P30D]. |