Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. PostgreSQL
  3. libzbxpgsql

libzbxpgsql

NOASSERTIONC

A Zabbix agent module written in C for comprehensive PostgreSQL server monitoring.

Visit WebsiteGitHubGitHub
156 stars62 forks0 contributors

What is libzbxpgsql?

libzbxpgsql is a Zabbix agent module written in C that provides comprehensive monitoring capabilities for PostgreSQL servers. It enables database administrators to monitor various PostgreSQL components including tablespaces, databases, namespaces, tables, and indexes through the Zabbix monitoring platform. The module solves the problem of integrating detailed PostgreSQL monitoring into existing Zabbix infrastructure.

Target Audience

Database administrators and system administrators who use Zabbix for infrastructure monitoring and need to monitor PostgreSQL database performance and health. It's particularly useful for teams managing PostgreSQL servers in production environments.

Value Proposition

Developers choose libzbxpgsql because it provides native, compiled C code integration with Zabbix agents, offering better performance than script-based monitoring solutions. It includes a preconfigured Zabbix template and enables discovery of PostgreSQL components, making setup faster than building custom monitoring solutions from scratch.

Overview

Monitor PostgreSQL with Zabbix

Use Cases

Best For

  • Monitoring PostgreSQL database performance in Zabbix environments
  • Tracking tablespace usage and growth in PostgreSQL servers
  • Discovering and monitoring PostgreSQL databases, tables, and indexes
  • Integrating PostgreSQL monitoring into existing Zabbix infrastructure
  • Database administrators needing comprehensive PostgreSQL metrics
  • Teams using Zabbix who want native PostgreSQL monitoring without custom scripts

Not Ideal For

  • Zabbix 6+ users seeking official, maintained PostgreSQL monitoring (as recommended in the README)
  • Environments without access to build tools or Zabbix source code for compilation
  • Teams using monitoring systems other than Zabbix, such as Prometheus or Datadog
  • Projects needing quick, out-of-the-box monitoring without manual module installation

Pros & Cons

Pros

Comprehensive Monitoring Coverage

Monitors tablespaces, databases, namespaces, tables, indexes, and other PostgreSQL components, providing detailed insights as outlined in the README.

Native Zabbix Integration

Compiled as a loadable module for Zabbix agents, offering better performance and integration than external scripts, leveraging Zabbix's framework.

Preconfigured Template Included

Comes with a ready-to-use Zabbix template, enabling immediate deployment and reducing configuration time for database administrators.

Performance Efficiency

Written in C, it provides low-overhead monitoring, which is beneficial for high-performance PostgreSQL servers compared to script-based solutions.

Discovery Capabilities

Enables automatic discovery of PostgreSQL components, making it easier to manage dynamic database environments without manual setup.

Cons

Complex Installation Process

Requires GNU build tools, Zabbix sources, and libpq development headers, which can be cumbersome and error-prone, as described in the installation instructions.

Dependency on Zabbix Ecosystem

Only works with Zabbix, limiting its use in mixed or alternative monitoring setups and creating vendor lock-in for this specific tool.

Potential Maintenance Issues

With Zabbix 6+ offering official PostgreSQL support, this module might not be actively maintained for newer versions, risking compatibility and security updates.

Frequently Asked Questions

Quick Stats

Stars156
Forks62
Contributors0
Open Issues49
Last commit2 years ago
CreatedSince 2015

Tags

#database-monitoring#postgresql-monitoring#postgresql#open-source-monitoring#zabbix#system-monitoring#c-language#performance-metrics

Built With

P
PostgreSQL
l
libpq
C
C++

Links & Resources

Website

Included in

PostgreSQL11.8k
Auto-fetched 9 hours ago

Related Projects

CorootCoroot

Coroot is an open-source observability and APM tool with AI-powered Root Cause Analysis. It combines metrics, logs, traces, continuous profiling, and SLO-based alerting with predefined dashboards and inspections.

Stars7,908
Forks398
Last commit20 hours ago
postgres_exporterpostgres_exporter

A PostgreSQL metric exporter for Prometheus

Stars3,609
Forks836
Last commit10 hours ago
dexterdexter

The automatic indexer for Postgres

Stars2,093
Forks58
Last commit23 days ago
pgwatch2pgwatch2

PostgreSQL metrics monitor/dashboard

Stars1,837
Forks225
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub