check_postgres

提供 PostgreSQL 监控功能的脚本

check_postgres 是一个基于 Perl 的脚本(“check_postgres.pl”),提供 PostgreSQL 的监控功能,并以 Nagios / Icinga 或 MRTG 格式输出。

check_postgres 自 2007 年开始开发(首次提交:e355a71b),由 Bucardo 维护。

示例

简单检查特定数据库的大小

$ ./check_postgres.pl -H localhost -p 5433 -u postgres \
  --action database_size \
  --warning='10MB' \
  --include=postgres
POSTGRES_DATABASE_SIZE OK: DB "postgres" (host:localhost) (port=5433) postgres: 7574175 (7397 kB)  | time=0.01s postgres=7574175;10485760

分类

监控

另请参阅

Zabbix

反馈

请在此处提交您对“check_postgres”的任何评论、建议或更正这里