libzbxpgsql
libzbxpgsql copied to clipboard
how can we monitor multiple postgres installation from a single machine?
I am not so sure how this works with the agent's module ..... I have a zabbix host with linux template with a single agent running on it. Using that agent I want to monitor multiple pgsql installations. Can I just create hosts in the zabbix application that point to that single active agent, or should I have a dedicated agent running for every pgsql installation ?
I'm interested to hear if you have solved this problem in an interesting way.
You shouldn't need any additional agents, but you may need to duplicate the template. A single template cannot be applied multiple times to a Zabbix Host, but duplicating the template and modifying the macro values for each one should (I think) provide you everything from a single Host.
I just continued with zbxdb. Every Postgres cluster is a zabbix host. For that matter, no limits.