Title
Create new category
Edit page index title
Edit category
Edit link
Monitoring
Overview
The /readyz API provides a simple way to monitor the health and status of your MetaDefender Downloader instance. This endpoint is particularly valuable for air-gapped environments where active monitoring of engine updates and system health is required.
API Endpoint
GET /readyz
Query Parameters
The API accepts an optional info query parameter with the following possible values:
Parameter Value | Description |
|---|---|
version | Returns the MetaDefender Downloader version |
updater_server_connection | Checks connectivity to the updater server |
diskspace | Reports free and total disk space for the data directory (in bytes) |
engine | Returns status of all engine and database packages |
update | Provides update-related information including timestamps and status |
all | Returns all information listed above. Note: when using |
Multiple values can be requested by separating them with commas (e.g., info=diskspace,version).
Default Response
When called without the info parameter, the API returns:
Downloader version
Connection status to updater server
Example Requests
Basic Health Check
GET /readyz
Response:
Request Specific Information
GET /readyz?info=diskspace,updater_server_connection
Response:
Request All Available Information
GET /readyz?info=all
Response:
Response Codes
Status Code | Description |
|---|---|
200 | Request successful |
400 | Invalid parameter(s) provided |
Error Handling
If an invalid info parameter is supplied, the API returns:
GET /readyz?info=invalid
Response:
Monitoring Best Practices
Regular Polling: Set up automated checks every 5-15 minutes
Alert on Failures: Configure alerts for:
Disconnected updater server
Low disk space (below 10% free)
Failed update status
Implementation Notes
Disk space is reported in bytes
If engines are actively downloading, the updater server connection is automatically considered "connected"