Describe the bug
In testing, I have found that when using CLI script on the Remote Data Collectors in 1.2.19, the script only connect to the local database, which is a good thing with some CLI script, but not all. This behavior needs to be changed for the release.
- In many scripts to connect to the main collector when online, and fail if the main data collector is offline.
- For other scripts, there should be an option of running local, for scripts like
database_repair.php and analyze_database.php, and convert_tables.php.
Expected behavior
More consistent behavior in scripts.