[check_postgres] running checks over ssl

Greg Sabino Mullane greg at endpoint.com
Thu Dec 4 17:31:37 UTC 2008


I just committed support for using the pg_service.conf, which also allows
you to pass in things like sslmode=require. There are probably non-service
ways to do this as well, but please see if this works for you. You'll need
to pull the version from git:

git clone http://bucardo.org/check_postgres.git

For those not familiar with pg_service.conf, it's a simple INI-like file
that contains connection parameters, allowing you to simply reference the
service name, and this only make changes in one place:

[foo]
dbname=postgres
port=5433
user=greg

It's named pg_service.conf and should be in your home directory, but this
can be changed by setting the PGSYSCONFDIR environment variable.

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20081204/c538da48/attachment.bin 


More information about the Check_postgres mailing list