Manta Manager CLI

The Manta Manager can be deployed using the command below with the appropriate options:

$ manta_manager --help
usage: manta_manager [-h] [--version] [--host HOST] [--port PORT] [--db_host DB_HOST] [--db_port DB_PORT] [--mqtt_host MQTT_HOST] [--mqtt_port MQTT_PORT] [--log_filename LOG_FILENAME] [--secured] [--ca_port CA_PORT] [--debug] [--verbose]

optional arguments:
<...>

Explanation of the options

Flag

Description

--host

Manager gRPC Host (default: localhost)

--port

Manager gRPC Port (default: 50051)

--db_host

Database Host (default: localhost)

--db_port

Database Port (default: 27017)

--mqtt_host

MQTT Broker Host (default: localhost)

--mqtt_port

MQTT Broker Port (default: 1883)

--log_filename

Log filename (optional)

--secured

Use this option to enable secured mode (more details below).

--ca_port

Port for the Certification Authority (required only in secured mode).

--debug, -d

Debug mode - All logs are printed and saved into a file.

-v

Increases the verbosity of logs. Use -v, -vv, or -vvv to increase the verbosity level.

Warning

The combination -vvv with --debug allows you to print all logs (INFO, DEBUG, ERROR) and also store these logs in an embedded database (file: .manta/traces.db). By removing --debug, you will only store logs in the embedded database even if they are not printed. If you change -vvv to -v, only ERROR will be saved.