Skip to main content

Zabbix

@figura/zabbixv2026.07.20.1· 1d agoMODELS
01README

Zabbix Monitoring — read-only integration for troubleshooting and observing monitored infrastructure via the Zabbix JSON-RPC 2.0 API. Retrieves hosts, problems, triggers, items, history, host groups, maintenance windows, and events.

Authentication

Requires a Zabbix API Token, stored in a swamp vault.

Methods

  • get_hosts — List monitored hosts with status, availability, and groups - get_host_detail — Get detailed host info (interfaces, macros, inventory) - get_problems — List active problems/alerts with severity - get_triggers — List triggers with state and associated hosts - get_items — List monitoring items (metrics) for a host - get_history — Get recent history/metric values for an item - get_host_groups — List all host groups - get_maintenance — List maintenance windows - get_events — Get recent events (state changes, alerts)
02Models1
@figura/zabbixv2026.07.20.1zabbix.ts

Global Arguments

ArgumentTypeDescription
apiTokenstringZabbix API Token for authentication
caCert?stringPEM-encoded CA certificate(s) to trust for TLS connections (for internal/private CAs). Store in vault if desired.
fn get_hosts(groupIds?: array, search?: string, limit?: number)
List monitored hosts with their status, availability, and host group membership. Optionally filter by group or search by name.
ArgumentTypeDescription
groupIds?arrayFilter by host group IDs
search?stringSearch hosts by name (partial match)
limit?numberMax hosts to return (default 100)
fn get_host_detail(hostId: string)
Get detailed information for a specific host including interfaces, macros, and inventory data.
ArgumentTypeDescription
hostIdstringHost ID to get details for
fn get_problems(hostIds?: array, severities?: array, limit?: number, acknowledged?: boolean)
List active problems/alerts with severity, acknowledgment status, and affected hosts. Optionally filter by severity or host.
ArgumentTypeDescription
hostIds?arrayFilter problems by host IDs
severities?arrayFilter by severities (0-5). E.g. [4,5] for high+disaster
limit?numberMax problems to return (default 100)
acknowledged?booleanFilter: true=only ack'd, false=only unack'd, omit=all
fn get_triggers(hostIds?: array, onlyProblems?: boolean, limit?: number)
List triggers with their current state, priority, and associated hosts. Optionally filter by host or show only triggers in PROBLEM state.
ArgumentTypeDescription
hostIds?arrayFilter triggers by host IDs
onlyProblems?booleanIf true, only return triggers in PROBLEM state
limit?numberMax triggers to return (default 100)
fn get_items(hostId: string, search?: string, limit?: number)
List monitoring items (metrics) for a specific host. Shows item name, key, last value, and status.
ArgumentTypeDescription
hostIdstringHost ID to get items for
search?stringSearch items by name or key (partial match)
limit?numberMax items to return (default 100)
fn get_history(itemId: string, valueType?: number, limit?: number, timeFrom?: number)
Get recent history/metric values for a specific item. Useful for checking recent metric trends.
ArgumentTypeDescription
itemIdstringItem ID to get history for
valueType?numberValue type: 0=float, 1=character, 2=log, 3=unsigned, 4=text. If omitted, defaults to 0 (float)
limit?numberMax history records to return (default 50)
timeFrom?numberUnix timestamp — only return values after this time
fn get_host_groups(search?: string)
List all host groups in Zabbix.
ArgumentTypeDescription
search?stringSearch groups by name (partial match)
fn get_maintenance(hostIds?: array, groupIds?: array)
List active and upcoming maintenance windows with their time periods and associated hosts/groups.
ArgumentTypeDescription
hostIds?arrayFilter maintenance windows by host IDs
groupIds?arrayFilter maintenance windows by host group IDs
fn get_events(hostIds?: array, objectIds?: array, severities?: array, timeFrom?: number, limit?: number)
Get recent events (trigger state changes, alerts). Useful for investigating incident timelines.
ArgumentTypeDescription
hostIds?arrayFilter events by host IDs
objectIds?arrayFilter events by trigger IDs (objectids)
severities?arrayFilter by severities (0-5)
timeFrom?numberUnix timestamp — only return events after this time
limit?numberMax events to return (default 100)

Resources

hosts(10m)— Monitored hosts with status and host groups
host_detail(10m)— Detailed host info including interfaces, macros, and inventory
problems(5m)— Active problems/alerts with severity
triggers(10m)— Triggers with state and associated hosts
items(10m)— Monitoring items (metrics) for a host
history(5m)— Recent history values for an item
host_groups(15m)— All host groups
maintenance(10m)— Active and upcoming maintenance windows
events(5m)— Recent events (state changes, alerts)
03Stats
A
100 / 100
Downloads
0
Archive size
14.0 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels