bucardo / check_postgres

Nagios check_postgres plugin for checking status of PostgreSQL databases
http://bucardo.org/wiki/Check_postgres
Other
561 stars 175 forks source link

ensure PostgreSQL log_destination is set to 'stderr' #185

Closed moench-tegeder closed 1 year ago

moench-tegeder commented 3 years ago

Some packages - I'm looking at FreeBSD here: https://github.com/freebsd/freebsd-ports/blob/main/databases/postgresql14-server/files/patch-src_backend_utils_misc_postgresql.conf.sample set log_destination to a non-standard value in the postgresql.conf template. CP_Testing.pm relies on the log output to detect server start and is defeated by this packaging. Instead of arguing with package maintainers, just force-set log_destination to 'stderr' and have CP_Testing.pm do it's work.