I have the Postgres plugin working on Zabbix Agent 2. I'm struggling however in understanding how I can have it discover the additional databases on my Postgres installation.
I've populated the macros as follows:

This results in data being collected on my postgres database, but not any others hosted on that server. I have provisioned the zabbix_monitor account with permissions to all of the databases as follows:
I can see that there is a macro named:
How do I put this to work?
I've populated the macros as follows:
This results in data being collected on my postgres database, but not any others hosted on that server. I have provisioned the zabbix_monitor account with permissions to all of the databases as follows:
Code:
/** For each database, run the following from a PSQL prompt **/ GRANT CONNECT ON DATABASE <database name> TO zabbix_monitor \c <database name> GRANT USAGE ON SCHEMA public TO zabbix_monitor; GRANT SELECT ON ALL TABLES IN SCHEMA public TO zabbix_monitor; ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO zabbix_monitor;
How do I put this to work?
Comment