[ZBX-20877] Unsupproted item key for "PostgreSQL by zabbix agent" (also agent2) templates Created: 2022 Apr 11 Updated: 2022 Jul 14 Resolved: 2022 Jul 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I), Templates (T) |
Affects Version/s: | 6.0.3 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Attila Cseke | Assignee: | Karlis Salins |
Resolution: | Won't Do | Votes: | 0 |
Labels: | agent, database, items | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
ubuntu 20.04, zabbix 6 LTS, postgresql 14 |
Description |
Hi, I am trying to configure postgres monitoring for postgresql-14 database on ubuntu 20.04. Zabbix server and agents (v. 6.0.3) are also running on ubuntu 20.04. Firewall, db, zabbix config seems OK, yet I am getting unsupported item keys for all postgres related keys.
Here is output of zabbix_agentd (similar for zabbix_get on the server) zabbix_agentd -t "pgsql.config.hash["127.0.0.1","5432","zbx_monitor","zbx_monitor","postgres"]"
Here is a section of the zabbix_server.log 11031:20220411:131038.618 item "dev-04:pgsql.replication.lag.b["\{$PG.URI}","\{$PG.USER}","\{$PG.PASSWORD}"]" became not supported: Unsupported item key. Looked on the web for 2 days for a solution, but I could not find anything relevant to my case.
|
Comments |
Comment by Karlis Salins [ 2022 Apr 12 ] |
Hello, Be careful with correct templates(these are for 6.0, make sure you are using the latest available agent version): Please check if you are using the correct one and follow all instructions written in the template manual. Best regards, |
Comment by Attila Cseke [ 2022 Apr 27 ] |
Hi, Thank you for your answer. I had to copy the sql-s and the conf file into the proper directories. After that it started working. So the problem was on my end, we can close this report. not an issue with zabbix. Regards, Attila Cseke |