Hi
I've installed Zabbix 4.4.5
The Postgres service test says"PostgreSQL: Service is down" because the ping test from "Template DB PostgreSQL" did not succeed: {Template DB PostgreSQL
gsql.ping["{$PG.HOST}","{$PG.PORT}","{$PG.USER}","{$PG.D B}"].last()} = 0
But the server runs and on the console, using zabbix_get, everything is OK.
zabbix_get -s 10.1.1.2 -k 'pgsql.ping["127.0.0.1","5432","zbx_monitor","postgres"]'
127.0.0.1:5432 - Verbindungen werden angenommen
zabbix_get -s 10.1.1.2 -k 'pgsql.ping.time["127.0.0.1","5432","zbx_monitor","postgres"]'
1
Zeit: 0,273 ms
On the DB Host also everything is OK with "pg_isready":
sudo -u zabbix pg_isready -h "127.0.0.1" -p "5432" -U "zbx_monitor" -d "postgres"
127.0.0.1:5432 - Verbindungen werden angenommen
Maybe a problem with german language ? Or do I have to create a value mapping ? Any ideas?
I've installed Zabbix 4.4.5
The Postgres service test says"PostgreSQL: Service is down" because the ping test from "Template DB PostgreSQL" did not succeed: {Template DB PostgreSQL
gsql.ping["{$PG.HOST}","{$PG.PORT}","{$PG.USER}","{$PG.D B}"].last()} = 0But the server runs and on the console, using zabbix_get, everything is OK.
zabbix_get -s 10.1.1.2 -k 'pgsql.ping["127.0.0.1","5432","zbx_monitor","postgres"]'
127.0.0.1:5432 - Verbindungen werden angenommen
zabbix_get -s 10.1.1.2 -k 'pgsql.ping.time["127.0.0.1","5432","zbx_monitor","postgres"]'
1
Zeit: 0,273 ms
On the DB Host also everything is OK with "pg_isready":
sudo -u zabbix pg_isready -h "127.0.0.1" -p "5432" -U "zbx_monitor" -d "postgres"
127.0.0.1:5432 - Verbindungen werden angenommen
Maybe a problem with german language ? Or do I have to create a value mapping ? Any ideas?
Comment