montecarlo collectors (CLI v1)
montecarlo collectors is part of v1 of the Monte Carlo CLI, the Python CLI (montecarlo, installed with pip install montecarlodata). This page covers its subcommands, usage and options.
Manage a data collector.
montecarlo collectors [OPTIONS] COMMAND [ARGS]...montecarlo collectors add
montecarlo collectors addAdd a collector record to the account. Prompts to opens browser to CF console. If declined (or skipped) can use deploy, get-template or open-link with the generated ID.
montecarlo collectors add [OPTIONS]Options
--no-prompt: Skip prompt for launching browser (Auto no). Default:False.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors add in the CLI reference
montecarlo collectors deploy
montecarlo collectors deployDeploy a data collector stack.
montecarlo collectors deploy [OPTIONS]Options
--aws-profile <aws_profile>: Required AWS profile.--params <params>: Parameters key,value pairs as JSON. If a key is not specified the existing (or default) value is used. E.g. --params '{"CreateEventInfra":"True"}'--agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.--collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.--aws-region <aws_region>: AWS region where the collector is deployed or intended to be deployed. Default:us-east-1.--stack-name <stack_name>: Required The name that is associated with the CloudFormation stack. Must be unique in the region.--enable-termination-protection / --no-enable-termination-protection: Enable termination protection for this stack. Default:False.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors deploy in the CLI reference
montecarlo collectors get-template
montecarlo collectors get-templateGet link to the latest template. For initial deployment or manually upgrading.
montecarlo collectors get-template [OPTIONS]Options
--agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.--collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.--aws-region <aws_region>: AWS region where the collector is deployed or intended to be deployed. Default:us-east-1.--update-infra / --no-update-infra: Update the collector infrastructure. Otherwise, only the lambda code will be updated. Default:False.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors get-template in the CLI reference
montecarlo collectors list
montecarlo collectors listList all collector records.
montecarlo collectors list [OPTIONS]Options
--active-only: Only list active collectors. Default:False.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors list in the CLI reference
montecarlo collectors open-link
montecarlo collectors open-linkOpens browser to CF console with a quick create link. For initial deployment.
montecarlo collectors open-link [OPTIONS]Options
--dry: Echos quick create link. Default:False.--agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.--collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.--aws-region <aws_region>: AWS region where the collector is deployed or intended to be deployed. Default:us-east-1.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors open-link in the CLI reference
montecarlo collectors ping
montecarlo collectors pingValidate whether a collector is operational.
montecarlo collectors ping [OPTIONS]Options
--trace-id <trace_id>: Optional custom UUID for tracking and correlating the ping response. By default we generate a random UUID to be sent with the ping request and validate that the ping response contains the same exact value.--collector-id <dc_id>: Required ID for the data collector. To disambiguate accounts with multiple collectors.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors ping in the CLI reference
montecarlo collectors run-validations
montecarlo collectors run-validationsRuns all validations for all active integrations in a given collector.
montecarlo collectors run-validations [OPTIONS]Options
--only-periodic / --all-validations: Whether all validations or only those marked as 'periodic' will be executed. Running only periodic validations will require less time and run the same validations that are executed periodically.--agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.--collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors run-validations in the CLI reference
montecarlo collectors test-tcp-open
montecarlo collectors test-tcp-openTests if a destination exists and accepts requests. Opens a TCP Socket to a specific port from the collector.
montecarlo collectors test-tcp-open [OPTIONS]Options
--agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.--collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.--host <host>: Required Host to check.--port <port>: Required Port to check.--timeout <timeout>: Timeout in seconds. Default:5.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors test-tcp-open in the CLI reference
montecarlo collectors test-telnet
montecarlo collectors test-telnetChecks if telnet connection is usable from the collector.
montecarlo collectors test-telnet [OPTIONS]Options
--agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.--collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.--host <host>: Required Host to check.--port <port>: Required Port to check.--timeout <timeout>: Timeout in seconds. Default:5.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors test-telnet in the CLI reference
montecarlo collectors upgrade
montecarlo collectors upgradeUpgrade to the latest version.
montecarlo collectors upgrade [OPTIONS]Options
--update-infra / --no-update-infra: Update the collector infrastructure. Otherwise, only the lambda code will be updated. Default:False.--aws-profile <aws_profile>: Required AWS profile.--params <params>: Parameters key,value pairs as JSON. If a key is not specified the existing (or default) value is used. E.g. --params '{"CreateEventInfra":"True"}'--agent-id <agent_id>: ID for the agent. To disambiguate accounts with multiple agents. This option cannot be used with 'dc-id'.--collector-id <dc_id>: ID for the data collector. To disambiguate accounts with multiple collectors. This option cannot be used with 'agent-id'.--aws-region <aws_region>: AWS region where the collector is deployed or intended to be deployed. Default:us-east-1.--option-file <option_file>: Read configuration from FILE.
Source: montecarlo collectors upgrade in the CLI reference
Source: montecarlo collectors in the CLI reference
This page is generated from the CLI's help text on each release. Changes made in ReadMe are overwritten.
Updated 1 day ago
