Hello.
Just installed Zabbix server on debian 10.
Added template "Template DB PostgreSQL Agent 2" to my zabbix server host.
Used this instruction:
And other items get "no data"
When i trying zabbix_get parameters with "no_data" i also get "unsupported item key", but default items like "cpu.switches" work.
What am i missing?
Just installed Zabbix server on debian 10.
Added template "Template DB PostgreSQL Agent 2" to my zabbix server host.
Used this instruction:
- create postgres user
- configure pg_hba
- link template to host
- set server URI, login and password in host macros
Code:
item "Zabbix server:pgsql.dbstat["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.oldest.xid["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.ping["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.replication.count["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.replication.lag.sec["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.replication.recovery_role["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.replication.status["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.uptime["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.autovacuum.count["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.archive["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.locks["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.bgwriter["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.replication.lag.b["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.connections["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.dbstat.sum["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.cache.hit["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
item "Zabbix server:pgsql.wal.stat["{$PG.URI}","{$PG.USER}","{$PG.PASSWORD}"]" became not supported: Unsupported item key.
When i trying zabbix_get parameters with "no_data" i also get "unsupported item key", but default items like "cpu.switches" work.
Code:
root@zabbix:~# zabbix_get -s localhost -k pgsql.connections.total ZBX_NOTSUPPORTED: Unsupported item key. root@zabbix:~# zabbix_get -s localhost -k system.cpu.switches 11768750
Code:
root@zabbix:~# zabbix_server --version zabbix_server (Zabbix) 5.0.4 Revision 69c0ad3686 28 September 2020, compilation time: Sep 28 2020 07:00:00 Copyright (C) 2020 Zabbix SIA License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). Compiled with OpenSSL 1.1.1c 28 May 2019 Running with OpenSSL 1.1.1d 10 Sep 2019 root@zabbix:~# zabbix_agentd --version zabbix_agentd (daemon) (Zabbix) 5.0.4 Revision 69c0ad3686 28 September 2020, compilation time: Sep 28 2020 07:00:00 Copyright (C) 2020 Zabbix SIA License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). Compiled with OpenSSL 1.1.1c 28 May 2019 Running with OpenSSL 1.1.1d 10 Sep 2019 root@zabbix:~# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" root@zabbix:~#
Comment