Skip to main content
Glama

trigger_delete

Remove specified triggers from Zabbix by providing trigger IDs. Returns deletion results in JSON format for easy integration and tracking.

Instructions

Delete triggers from Zabbix.

Args: triggerids: List of trigger IDs to delete Returns: str: JSON formatted deletion result

Input Schema

NameRequiredDescriptionDefault
triggeridsYes

Input Schema (JSON Schema)

{ "properties": { "triggerids": { "items": { "type": "string" }, "title": "Triggerids", "type": "array" } }, "required": [ "triggerids" ], "type": "object" }

Implementation Reference

  • The main handler function for the 'trigger_delete' tool. It is decorated with @mcp.tool() which handles registration in FastMCP. The function checks read-only mode, authenticates with Zabbix API via get_zabbix_client(), calls the Zabbix trigger.delete API method, and formats the response as JSON.
    @mcp.tool() def trigger_delete(triggerids: List[str]) -> str: """Delete triggers from Zabbix. Args: triggerids: List of trigger IDs to delete Returns: str: JSON formatted deletion result """ validate_read_only() client = get_zabbix_client() result = client.trigger.delete(*triggerids) 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