I am setting up PostgreSQL monitoring in Zabbix using Zabbix Agent 2 and the PostgreSQL plugin, but there is an error in the monitoring data. "Unknown metric pgsql.oldest.xid." Zabbix server version 7.0.29 and plugin PostGreSQL version 7.0.29. I have already checked the agent and module configuration files, but I cannot find where the configuration error lies.
Ad Widget
Collapse
ZABBIX AGENT2 - Erro Unknown metric pgsql.oldest.xid
Collapse
X
-
Tags: None
-
Hi,
Did you restart the agent after installing PostgreSQL plugin? Agent 2 only scans for plugins at startup, so if the plugin package was installed after the agent was already running, it won't pick up the new metrics until restarted.
You can check with:
Code:sudo zabbix_agent2 -R metrics 2>&1 | grep -A2 '\[PostgreSQL\]'
Comment