Validating Quantotto Agent Installation
-
Validate Quantotto Agent CLI is installed by executing
qtoagent --help; you should see the following output:$ qtoagent --help Usage: qtoagent [OPTIONS] COMMAND [ARGS]... Quantotto Agents CLI Configure and manage Quantotto agents on device Options: --version Show the version and exit. --help Show this message and exit. Commands: capture Configures and manages Capture agents customer Configures customer info and credentials discovery Configures and manages Discovery agent status Shows agents status -
Verify customer configuration
During installation, customer configuration is populated automatically. It is recommended to validate that all setting were properly chosen.
Current customer configuration can be viewed withqtoagent customer info.
Verify that all fields are complete; example output is show below:$ qtoagent customer info Customer info summary ====================== Customer ID: qto Customer client secret: XC_oPav76zh8 Customer portal: qtosrv Frames port: 15000 Site name: main Hostname: qtoagent IP: 192.168.0.14 QUANTOTTO_HOME: /opt/quantottoIf, for some reason, configurations are incomplete or need to be modified, please run:
qtoagent customer configand answer config questions.
Most of default settings presented should be fine. Client Secret will be masked.
Press<Enter>to accept the default or enter new value. -
Make sure that qtoagent service is up and running by executing
qtoagent status:$ qtoagent status Showing agents status ● qtoagent.service - Quantotto Agent Service Loaded: loaded (/lib/systemd/system/qtoagent.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2020-12-11 22:38:46 UTC; 3h 6min ago Main PID: 30168 (qtoagent_servic) Tasks: 5 (limit: 2282) Memory: 7.8M CGroup: /system.slice/qtoagent.service ├─30168 /bin/bash /opt/quantotto/qtoagent_service.sh └─30183 /opt/quantotto/.venv/bin/python3 /opt/quantotto/.venv/bin/qtoagentservice Dec 11 22:38:46 qtoagent systemd[1]: Started Quantotto Agent Service.If needed, qtoagent service can be started / stopped / restarted using standard
systemctlcommands:sudo systemctl start qtoagent.service sudo systemctl stop qtoagent.service sudo systemctl restart qtoagent.serviceIMPORTANT NOTES:
- If portal FQDN (in the example above, it is
qtosrv) is not DNS-resolvable, you should add an entry for it to/etc/hosts - For example, if IP address is
192.168.0.13and server FQDN isqtosrv, add the following line:
192.168.0.13 qtosrv- use
sudowhen editing/etc/hosts - After modification, qtoagent service needs to be restarted with
sudo systemctl restart qtoagent.service
- If portal FQDN (in the example above, it is
Well done!
Quantotto Agent machine is ready and you can move on to Configuring Discovery and Capture.