Actions100
- Billing Actions
- DNS Actions
- Domain Actions
- Domain Forwarding Actions
- Domain WHOIS Actions
- Reach Actions
- VPS Actions
- VPS Actions Actions
- VPS Backups Actions
- VPS Data Centers Actions
- VPS Docker Manager Actions
- VPS Firewall Actions
- VPS Malware Scanner Actions
- VPS Post Install Scripts Actions
- VPS PTR Actions
- VPS Public Keys Actions
- VPS Snapshots Actions
- VPS Templates Actions
VPS → Get Metrics
AI-generatedOverview
This node operation retrieves performance metrics for a specified Virtual Private Server (VPS) within a given date range. It is useful for monitoring the VPS's resource usage and performance over time, such as CPU, memory, and network metrics. For example, a user can fetch metrics to analyze server load or troubleshoot performance issues.
Use Case Examples
- Fetch CPU and memory usage metrics for a VPS from the last week.
- Retrieve network traffic data for a VPS between two specific dates.
Properties
| Name | Meaning |
|---|---|
| Virtual Machine ID | The unique identifier of the VPS for which metrics are to be retrieved. |
| Date From | The start date for the metrics data range (optional). |
| Date To | The end date for the metrics data range (optional). |
Output
JSON
response- The JSON response containing the VPS metrics data retrieved from the Hostinger API.
Dependencies
- Hostinger API with authentication credentials
Troubleshooting
- Ensure the Virtual Machine ID is correct and the VPS exists.
- Verify that the date range parameters are in the correct format and valid.
- Check API authentication credentials are properly configured to avoid authorization errors.
- Common error: 'Unsupported operation' indicates the operation name might be incorrect or not implemented.
Links
- Hostinger API VPS Metrics Endpoint - Official API documentation for retrieving VPS metrics.