[check_postgres] Enhancement request - configuration file

Albe Laurenz laurenz.albe at wien.gv.at
Thu Aug 6 11:53:40 UTC 2009


Dear developers,

towards the beginning of the Perl script there are a couple
of optins that can/should be configured, things like
$opt{showtime} = 1;
or
$opt{defaultuser} = 'postgres';

Now when you install the latest version, there is always the
danger that you forgot that you made these adjustments
and lose them when the file is overwritten.

What about an optional configuration file (something like
/etc/check_postgres) from which configuration options are
read if it exists?

Yours,
Laurenz Albe


More information about the Check_postgres mailing list