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" 的任何评论、建议或更正 此处