-
Incident report
-
Resolution: Fixed
-
Trivial
-
None
-
7.0.6
-
None
-
zabbix_agent2 (Zabbix) 7.0.6
Zabbix PostgreSQL plugin
Version 7.0.6, built with go1.23.1
Protocol version 6.4.0
zabbix_server (Zabbix) 7.0.4
Hi guys, sorry if I'm posting in the wrong place. I'm using the Zabbix environment with the following components:
zabbix_agent2 (Zabbix) 7.0.6 Zabbix PostgreSQL plugin Version 7.0.6, built with go1.23.1 Protocol version 6.4.0 zabbix_server (Zabbix) 7.0.4
and I'm using the official "PostgreSQL by Zabbix agent 2" template but the key
pgsql.db.size["{$PG.CONNSTRING}","{$PG.USER}","{$PG.PASSWORD}","db01"]
and I get the error
Timeout 4.5s reached while waiting for response from plugin: broker timeout.
I set the timeout parameters equal to 30 on the agent and server and the parameters inside the /etc/zabbix/zabbix_agent2.d/plugins.d/postgresql.conf file
- Plugins.PostgreSQL.CallTimeout=30
- Plugins.PostgreSQL.Timeout=30
I run it with zabbix_get and it works. I tried several times and the execution time varied from 5 to 9 seconds. Is there any other parameter to increase these 4.5 seconds?
zabbix_get -s server -k pgsql.db.size["tcp://localhost:5432","zbx_monitor","xxxxxx","db01"]
It still didn't work. Does anyone have any idea where I'm going wrong?