Skip to main content
Glama

maintenance_delete

Remove maintenance periods in Zabbix by specifying maintenance IDs. Streamline system upkeep management with JSON-formatted deletion results. Ideal for optimizing maintenance schedules.

Instructions

Delete maintenance periods from Zabbix.

Args: maintenanceids: List of maintenance IDs to delete Returns: str: JSON formatted deletion result

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maintenanceidsYes

Implementation Reference

  • The handler function for the 'maintenance_delete' tool. It is decorated with @mcp.tool() which registers it with FastMCP, validates read-only mode, gets the Zabbix client, calls the maintenance.delete API method, and formats the response as JSON.
    @mcp.tool() def maintenance_delete(maintenanceids: List[str]) -> str: """Delete maintenance periods from Zabbix. Args: maintenanceids: List of maintenance IDs to delete Returns: str: JSON formatted deletion result """ validate_read_only() client = get_zabbix_client() result = client.maintenance.delete(*maintenanceids) return format_response(result)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mpeirone/zabbix-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server