check_postgres
A script providing monitoring functionality for PostgreSQL
check_postgres
is a Perl-based script ("check_postgres.pl
") providing monitoring functionality for PostgreSQL with output in Nagios / Icinga or MRTG formats.
check_postgres
has been developed since 2007 (initial commit: e355a71b) and is maintained by Bucardo.
Examples
Simple check of the size of a specific database:
$ ./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
References
- Homepage: check_postgres
- Documentation: check_postgres.pl
- GitHub: check_postgres
Categories
See also
Zabbix