# PostgresAI vs Zabbix: a fix with every finding vs threshold triggers

> Zabbix is open-source monitoring with PostgreSQL templates and threshold triggers. PostgresAI gives each finding a recommended fix and breaks load down by wait event.

Checked on 2026-11-18. Page: https://postgres.ai/compare/postgresai-vs-zabbix. All comparisons: https://postgres.ai/compare.

## Short answer

Zabbix is open-source monitoring under AGPL-3.0. For PostgreSQL it offers templates for Zabbix agent, Zabbix agent 2 and ODBC that collect connections, locks, replication, WAL, cache hit ratio and database size, with threshold triggers. PostgresAI monitors only PostgreSQL, with query and wait event dashboards, scheduled checkups and Issues with a fix. Pick Zabbix if you already run it and want PostgreSQL threshold alerts in the same system. Add PostgresAI if you need query-level analysis, Postgres-specific recommendations or expert help. Both can watch the same server.

## Where PostgresAI is ahead of Zabbix

1. **Every finding comes with a fix.**
   - PostgresAI: Scheduled checkups turn each finding into an Issue with severity, evidence and a specific fix. ([Checkup reports](https://postgres.ai/docs/checkup), [How to work with Issues](https://postgres.ai/docs/postgresai-howtos/how-to-work-with-issues))
   - Zabbix: Zabbix PostgreSQL templates ship threshold triggers, such as oldest XID age, idle in transaction, cache hit ratio, replication lag and slow query count, defined as problem thresholds. The sources we reviewed do not describe recommended fixes. [1][3]
2. **Wait events with no extra extension.**
   - PostgresAI: An ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. ([Wait event analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/wait-events))
   - Zabbix: Zabbix PostgreSQL templates count waiting connections from pg_stat_activity and locks by mode per database. The sources we reviewed do not describe a breakdown by wait event. [1]
3. **Test the fix on a full-size copy first.**
   - PostgresAI: With DBLab Engine, a separate open-source product, an index or query change runs on a full-size thin clone of the database, created in seconds, before it reaches production. ([DBLab Engine](https://postgres.ai/docs/database-lab), [DBLab compared with other ways to branch](https://postgres.ai/compare#branching))
   - Zabbix: Zabbix monitors running hosts through templates, triggers and actions. The sources we reviewed do not describe trying an index or query change on a copy of the database. [3][1]

## Check it on your own database

```
npx postgresai@latest checkup postgresql://user@host:5432/db --no-upload
```

The express checkup works with PostgreSQL 14 or newer. With --no-upload it needs no account and sends no report data to PostgresAI. It needs Node.js 18 or newer and a database role with pg_monitor. Compare what it finds with what your current tool shows for the same database.

- [Live demo (login demo, password demo)](https://demo.postgres.ai)
- [Checkup command reference](https://postgres.ai/docs/reference-guides/postgresai-cli-reference#command-checkup)

## Side by side

| | PostgresAI | Zabbix |
|---|---|---|
| What it is | PostgreSQL monitoring with scheduled health checkups. Findings become Issues with severity, evidence and a recommended fix, which you, your AI agent or a PostgresAI expert can act on. | Open-source monitoring software. For PostgreSQL, templates for Zabbix agent, Zabbix agent 2 and ODBC collect metrics such as connections, locks, replication, WAL, cache hit ratio and database size, and ship threshold triggers. [3][1] |
| Where your Postgres can run, and which versions | Any provider: yes. Amazon RDS and Aurora, Google Cloud SQL, Azure Database for PostgreSQL, Supabase, Tiger Data, self-managed servers and Postgres running on Kubernetes. PostgreSQL 14 and newer, with the pg_stat_statements extension. | Any provider: yes. The PostgreSQL templates connect to an instance by URI, so any reachable server can be monitored; they are tested on PostgreSQL 10 to 18 (Zabbix agent), 10 to 17 (agent 2) and 11 to 18 (ODBC). Separate templates cover Amazon RDS through CloudWatch and Azure PostgreSQL Flexible Server through Azure APIs. [1][7][8] |
| Where it runs and what it collects | Self-hosted option: yes. Hosted by PostgresAI, or self-hosted in your own cloud account or on your own server. It collects database metadata such as statistics, normalized query texts and wait events, not table data or query parameters. | Self-hosted option: yes. Self-hosted Zabbix server with agents, or Zabbix Cloud, described as a fully-managed SaaS platform. Configuration and collected data are stored in a database. [3][6] |
| Open source | Yes. The monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. | Yes. Zabbix 7.0 and later are released under AGPL-3.0; versions up to 6.4 were GPL-2.0. Zabbix is available at no cost. [2][3] |
| Query performance analysis | Query analysis: yes. Top queries from pg_stat_statements by calls, execution time, planning time and rows, with a drill-down dashboard for a single query. For execution plans, Joe runs EXPLAIN on a DBLab clone. | Query analysis: partly. Templates count slow queries per database (trigger default: more than 5). The ODBC template needs pg_stat_statements and reads workload totals from it, such as average and max execution time, total calls and plan time. The sources we reviewed do not describe a per-query drill-down. [1] |
| Wait event analysis | Wait events: yes. An ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. | Not documented in the sources we reviewed. The templates count waiting locks and waiting connections, but the sources do not describe wait event analysis. [1] |
| Health checks and recommendations | Health checks: yes. Scheduled checkup reports on settings, autovacuum and bloat, and indexes (invalid, unused, redundant). Each finding becomes an Issue with severity, evidence and a specific fix. | Health checks: partly. Threshold triggers, for example oldest XID age, idle in transaction, connection usage, cache hit ratio, replication lag, deadlocks, checksum failures and VACUUM FREEZE needed for wraparound. The sources we reviewed do not describe recommended fixes. [1] |
| AI and agent access | Agent access: yes. The postgresai CLI (alias pgai) and an MCP server with tools for Issues, action items and checkup reports. The setup guide covers Cursor, Claude Code, Windsurf and Codex. | Agent access: yes. Zabbix MCP server lets AI agents work with Zabbix through the Model Context Protocol: read hosts, triggers, problems and item history, update problems, and manage maintenance periods. The Zabbix API, JSON-RPC 2.0 over HTTP, reads and changes configuration and gives access to historical data. [11][9] |
| Testing a fix before production | Test on a copy: yes. With DBLab Engine, a separate open-source product: a full-size thin clone of the database in seconds, where an index or query change can be run on real data. DBLab is set up and priced separately. | Not documented in the sources we reviewed. Zabbix monitors running systems; the sources do not describe trying a change on a copy of the database. [3][1] |
| Human PostgreSQL experts | Human experts: yes. Scale includes two expert requests a month, answered within 24 business hours. Either plan can buy a one-off pack of two requests for $500. Consulting is separate. | Human experts: partly. Paid support subscriptions (Silver, Gold, Platinum, Enterprise, Global) and professional services for Zabbix itself: implementation, template building and consulting. Enterprise includes 40 remote consultancy hours. The sources we reviewed do not describe PostgreSQL consulting. [5] |
| Alerts | Email and Slack alerts on Starter and Scale. | Media types for email, push notification, SMS, custom alert scripts and webhooks. Actions can also run remote commands. [4][3] |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. | Configurable history with a built-in housekeeping procedure. On Zabbix Cloud, the only limit on history and trend storage periods is the available disk space. [3][6] |
| Security attestations | SOC 2 Type 2 examination completed for the Security and Availability criteria, covering March 4 to June 4, 2026. The SOC 3 report is public. | Zabbix announced ISO/IEC 27001:2013 certification for information security in January 2023. [10] |

## When Zabbix is the better choice

- Free and open source under AGPL-3.0, with PostgreSQL templates for Zabbix agent, Zabbix agent 2 and ODBC, tested on PostgreSQL 10 to 18 depending on the template.
- Triggers for replication lag, oldest XID age and VACUUM FREEZE needed for wraparound, deadlocks, checksum failures, cache hit ratio, idle in transaction and slow queries, with thresholds set by macros.
- The ODBC template reads workload totals from pg_stat_statements, such as calls, execution and plan time and temporary blocks, and logical replication subscription errors on PostgreSQL 15 to 18.
- Templates for Amazon RDS (CloudWatch metrics, alarms and events) and Azure PostgreSQL Flexible Server, next to the PostgreSQL templates.
- Zabbix Cloud as SaaS from $50 a month, and paid support tiers from the team that builds Zabbix, with consultancy hours on Enterprise and Global.

## Pricing

| Product | Plan | List price | Notes |
|---|---|---|---|
| PostgresAI | Starter | $16 per cluster/month | Primary only, 14-day retention, no expert requests included |
| PostgresAI | Scale | $512 per cluster/month | Primary and up to 5 replicas in one cluster, 13-month retention, Grafana dashboards, 2 expert requests a month |
| PostgresAI | Enterprise | Custom | Contact sales |
| PostgresAI | Self-hosted | No licence fee | Open source under Apache 2.0; you run it yourself |
| Zabbix | Open source | Free | AGPL-3.0 from Zabbix 7.0; you run the server [2][3] |
| Zabbix | Zabbix Cloud | From $50/month | Nano tier, 50 NVPS; tiers up to 2xLarge at $5,000/month for 10,000 NVPS; 5-day free trial [6] |
| Zabbix | Support Silver | $325/month | Billed annually; 8x5 support, 1-day response [5] |
| Zabbix | Support Gold | From $825/month | Billed annually; 8x5 support, 4-hour response [5] |
| Zabbix | Platinum, Enterprise, Global | Custom | 24x7 support; Enterprise adds 40 remote consultancy hours, Global 80 [5] |

PostgresAI prices: https://postgres.ai/pricing. Zabbix Cloud prices are starting points; the page says they may vary with configuration. Values above a tier's NVPS limit are discarded.

## Using both

Zabbix can keep its PostgreSQL threshold triggers and alerts while PostgresAI adds query and wait event analysis, checkups and Issues for the same servers or managed services. Both read PostgreSQL statistics through a monitoring role, and PostgresAI also needs pg_stat_statements, which the Zabbix ODBC template already requires.

## Questions

### Is Zabbix open source?

Yes. Zabbix 7.0 and later are released under AGPL-3.0, and versions up to 6.4 under GPL-2.0. The software is free; Zabbix sells support, training, services and Zabbix Cloud. [2][5]

### Can Zabbix monitor PostgreSQL?

Yes. Templates for Zabbix agent, Zabbix agent 2 and ODBC collect connections, locks, replication, WAL, cache hit ratio and database size, with triggers such as slow queries, deadlocks and XID age. They are tested on PostgreSQL 10 to 18, depending on the template. [1]

### Does Zabbix work with Amazon RDS?

Zabbix has an AWS RDS template that reads CloudWatch metrics, alarms and RDS events. The PostgreSQL templates connect to an instance by URI, so they can also point at a reachable RDS endpoint. [7][1]

### What does Zabbix cost?

The software is free. Zabbix Cloud starts at $50 a month for 50 NVPS. Support starts at $325 a month for Silver, billed annually; higher tiers are quoted. [6][5]

### Can I use PostgresAI and Zabbix together?

Yes. Zabbix can keep its PostgreSQL templates and triggers, and PostgresAI adds query and wait event analysis, checkups and Issues for the same PostgreSQL servers. [1]

## Sources for PostgresAI

- [Checkup reports](https://postgres.ai/docs/checkup)
- [How to work with Issues](https://postgres.ai/docs/postgresai-howtos/how-to-work-with-issues)
- [Wait event analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/wait-events)
- [DBLab Engine](https://postgres.ai/docs/database-lab)
- [DBLab compared with other ways to branch](https://postgres.ai/compare#branching)
- [PostgresAI monitoring overview](https://postgres.ai/docs/monitoring)
- [What are Issues?](https://postgres.ai/docs/questions-and-answers)
- [Monitoring quick start](https://postgres.ai/docs/monitoring/getting-started)
- [Data privacy: metadata only](https://postgres.ai/docs/monitoring#data-privacy-metadata-only)
- [postgresai repository](https://gitlab.com/postgres-ai/postgresai)
- [Query performance analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/query-analysis)
- [Joe bot](https://postgres.ai/docs/joe-bot)
- [How to install MCP for AI coding tools](https://postgres.ai/docs/postgresai-howtos/how-to-install-mcp)
- [PostgresAI CLI reference](https://postgres.ai/docs/reference-guides/postgresai-cli-reference)
- [Pricing](https://postgres.ai/pricing)
- [Postgres consulting](https://postgres.ai/consulting)
- [Security and compliance](https://postgres.ai/security)

## Sources for Zabbix

1. [Zabbix integrations: PostgreSQL templates](https://www.zabbix.com/integrations/postgresql)
2. [Zabbix license](https://www.zabbix.com/license)
3. [Zabbix 8.0 manual: what is Zabbix](https://www.zabbix.com/documentation/current/en/manual/introduction)
4. [Zabbix 8.0 manual: media types](https://www.zabbix.com/documentation/current/en/manual/config/notifications/media)
5. [Zabbix subscriptions](https://www.zabbix.com/subscriptions)
6. [Zabbix Cloud](https://www.zabbix.com/cloud)
7. [Zabbix integrations: AWS RDS instance by HTTP](https://www.zabbix.com/integrations/aws_rds)
8. [Zabbix integrations: Azure](https://www.zabbix.com/integrations/azure)
9. [Zabbix 8.0 manual: API](https://www.zabbix.com/documentation/current/en/manual/api)
10. [Zabbix is now ISO27001 certified](https://www.zabbix.com/pr/pr429)
11. [Zabbix 8.0 manual: MCP server](https://www.zabbix.com/documentation/current/en/manual/concepts/mcp_server)

## How we compare

These pages compare what each product does for PostgreSQL; other databases and the rest of the stack are out of scope. What we say about the other product comes from its own documentation, pricing page, changelog or source repository, read on the date shown; each row cites its source. "Not documented" means we did not find it in those sources, not that the product cannot do it. Prices are list prices and the billing units differ, so they are not a total-cost comparison. Product names are trademarks of their owners.
