- 1 Minute to read
- Print
- PDF
Verify instance compatibility with the Zesty Disk Agent
- 1 Minute to read
- Print
- PDF
This topic describes how to run a script to test if an instance is compatible with running the Zesty Disk Agent (“Agent” or “Collector”).
This script works only on instances where the Agent is not installed.
The script gathers some instance data into /tmp/zesty_disk_precheck.yaml
What does the script validate?
The script validates the following:
Curl is installed.
Btrfs can be installed (and if it is already installed, if the version is 4.1 or later).
In RHEL 8.x/9.x or other non-Btrfs environments, the results of this test are not relevant.Kernel compatibility (v5.x is supported. v5.1 or later is recommended)
Crond is installed and running.
This is not required for AL2023 or Debian 12.
Zesty backend communication accessibility
(Optional) API key validity
The AWS account was granted Zesty Disk IAM permissions.
To run the script, use this command:
curl -s https://static.zesty.co/ZX-InfraStructure-Agent-test/zesty_disk_collector_precheck.sh | sudo bash
Optional arguments
USAGE: zesty_disk_collector_precheck.sh [options...]
--apikey=API_KEY
--baseurl=BASE_URL
--privatelink
--help
Optional arguments | Description |
---|---|
--apikey=API_KEY | If you enter your API key, the script will verify that your account was successfully integrated (API key is valid and Zesty Disk IAM permissions are granted). |
--baseurl=BASE_URL | Use a specific URL to verify backend communication accessibility. |
--privatelink | A PrivateLink installation is being performed. |
--help | Show the script help. |
Example output
The following output is from an instance that is compatible with Agent installation:
The following output is from an instance that is not compatible with Agent installation: