get_metrics_data
Retrieve time-series performance data for any metric of a Centreon service. Provides historical values over a specified time range for monitoring and analysis.
Instructions
Get time-series performance data for a specific metric of a service. Use get_service_metrics first to discover available metric names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the time range in ISO 8601 format (e.g., 2024-01-15T23:59:59Z). Defaults to now. | |
| start | No | Start of the time range in ISO 8601 format (e.g., 2024-01-15T00:00:00Z). Defaults to 24 hours ago. | |
| host_id | Yes | Centreon host ID | |
| service_id | Yes | Centreon service ID | |
| metric_name | Yes | Metric name as returned by get_service_metrics (e.g., 'rta', 'pl', 'load1') |