maintenance_get
Retrieve maintenance periods from Zabbix by specifying maintenance IDs, host group IDs, or host IDs. Returns JSON-formatted data in the desired output format for monitoring and analysis.
Instructions
Get maintenance periods from Zabbix.
Args:
maintenanceids: List of maintenance IDs to retrieve
groupids: List of host group IDs to filter by
hostids: List of host IDs to filter by
output: Output format
Returns:
str: JSON formatted list of maintenance periods
Input Schema
Name | Required | Description | Default |
---|---|---|---|
groupids | No | ||
hostids | No | ||
maintenanceids | No | ||
output | No | extend |
Input Schema (JSON Schema)
{
"properties": {
"groupids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Groupids"
},
"hostids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Hostids"
},
"maintenanceids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Maintenanceids"
},
"output": {
"default": "extend",
"title": "Output",
"type": "string"
}
},
"type": "object"
}