Skip to content

v1.7

Choose a tag to compare

@hermanekt hermanekt released this 29 Mar 20:54
· 422 commits to main since this release

Added

  • Symbolic name normalization for enum fields — LLMs and users can now use human-readable names instead of numeric IDs in create/update params; the server translates them before sending to the Zabbix API:
    • Preprocessing step types — "type": "JSONPATH" instead of "type": 12, "DISCARD_UNCHANGED_HEARTBEAT" instead of 20, etc. (all 30 types)
    • Preprocessing error handlers — "error_handler": "DISCARD_VALUE" instead of 1 (DEFAULT, DISCARD_VALUE, SET_VALUE, SET_ERROR)
    • Item / item prototype type — "type": "HTTP_AGENT" instead of 19 (ZABBIX_PASSIVE, TRAPPER, SIMPLE_CHECK, INTERNAL, ZABBIX_ACTIVE, WEB_ITEM, EXTERNAL_CHECK, DATABASE_MONITOR, IPMI, SSH, TELNET, CALCULATED, JMX, SNMP_TRAP, DEPENDENT, HTTP_AGENT, SNMP_AGENT, SCRIPT, BROWSER)
    • Item / item prototype value_type — "value_type": "TEXT" instead of 4 (FLOAT, CHAR, LOG, UNSIGNED, TEXT, BINARY)
    • Item / item prototype authtype — "authtype": "BASIC" instead of 1 (NONE, BASIC, NTLM, KERBEROS, DIGEST)
    • Item / item prototype post_type — "post_type": "JSON" instead of 2 (RAW, JSON)
    • Trigger / trigger prototype priority — "priority": "DISASTER" instead of 5 (NOT_CLASSIFIED, INFORMATION, WARNING, AVERAGE, HIGH, DISASTER)
    • Host interface type — "type": "SNMP" instead of 2 (AGENT, SNMP, IPMI, JMX)
    • Media type type — "type": "WEBHOOK" instead of 4 (EMAIL, SCRIPT, SMS, WEBHOOK)
    • Script type — "type": "SSH" instead of 2 (SCRIPT, IPMI, SSH, TELNET, WEBHOOK, URL)
    • Script scope — "scope": "MANUAL_HOST" instead of 2 (ACTION_OPERATION, MANUAL_HOST, MANUAL_EVENT)
    • Script execute_on — "execute_on": "SERVER" instead of 1 (AGENT, SERVER, SERVER_PROXY)
    • Action eventsource — "eventsource": "TRIGGER" instead of 0 (TRIGGER, DISCOVERY, AUTOREGISTRATION, INTERNAL, SERVICE)
    • Proxy operating_mode — "operating_mode": "ACTIVE" instead of 0 (ACTIVE, PASSIVE)
    • User macro type — "type": "SECRET" instead of 1 (TEXT, SECRET, VAULT)
    • Connector data_type — "data_type": "EVENTS" instead of 1 (ITEM_VALUES, EVENTS)
    • Role type — "type": "ADMIN" instead of 2 (USER, ADMIN, SUPER_ADMIN, GUEST)
    • Httptest authentication — "authentication": "BASIC" instead of 1 (NONE, BASIC, NTLM, KERBEROS, DIGEST)
    • Discovery check type — "type": "ICMP" instead of 12 in dchecks (SSH, LDAP, SMTP, FTP, HTTP, POP, NNTP, IMAP, TCP, ZABBIX_AGENT, SNMPV1, SNMPV2C, ICMP, SNMPV3, HTTPS, TELNET)
    • Maintenance type — "maintenance_type": "NO_DATA" instead of 1 (DATA_COLLECTION, NO_DATA)
  • Nested interfaces normalization — symbolic type names (AGENT, SNMP, IPMI, JMX) are resolved inside the interfaces array in host.create / host.update params
  • Nested dchecks normalization — symbolic type names (ICMP, HTTP, ZABBIX_AGENT, etc.) are resolved inside the dchecks array in drule.create / drule.update params
  • Auto-wrap single objects into arrays — when an LLM sends a dict where the Zabbix API expects an array (e.g. "groups": {"groupid": "1"} instead of "groups": [{"groupid": "1"}]), the server auto-wraps it in a list; applies to groups, templates, tags, interfaces, macros, preprocessing, dchecks, timeperiods, steps, operations, and more
  • Default output to "extend" for get methods — get methods now return full objects by default instead of just IDs; saves LLMs from having to specify output: "extend" on every call; skipped when countOutput is set
  • extra_params for all get methods — new optional extra_params: dict parameter on every *.get tool, merged into the API request as-is; enables selectXxx parameters (e.g. selectPreprocessing, selectTags, selectInterfaces, selectHosts) and any other Zabbix API parameters not covered by the typed fields
  • ISO 8601 timestamp auto-conversion — LLMs can now send human-readable datetime strings (e.g. "active_since": "2026-04-01T08:00:00") instead of Unix timestamps; the server auto-converts for known fields: active_since, active_till, time_from, time_till, expires_at, clock; supports formats with/without timezone, T separator, date-only; works in both create/update params and get method parameters
  • Updated tool descriptions — create/update tools for items, triggers, host interfaces, media types, scripts, actions, proxies, user macros, connectors, roles, web scenarios, discovery rules, and maintenance now list accepted symbolic names in their descriptions, so LLMs use them automatically