zenoss / ZenPacks.zenoss.PostgreSQL

PostgreSQL Monitoring
GNU General Public License v2.0
8 stars 7 forks source link

Allow non-default name for the default database #24

Closed pcarinhas closed 6 years ago

pcarinhas commented 6 years ago

Normally, PostgreSQL uses a default database name of 'postgres' for its internal administration, user, table accounting. Some systems like Puppet Enterprise maintain non-default names.

We add the zproperty, zPostgreSQLDefaultDB, to allow for a non-default value. The default value for zPostgreSQLDefaultDB remains as 'postgres'.