[ZBX-20852] Zabbix agent 2 pgsql.custom.query Cannot fetch data: expected 1 arguments, got 6. Created: 2022 Apr 05 Updated: 2025 Feb 28 Resolved: 2025 Feb 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 5.0.22 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Tauri Jaanus | Assignee: | Stanislavs Jurgensons (Inactive) |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 7 |
Attachments: |
![]() ![]() |
Story Points: | 0.2 |
Description |
Steps to reproduce: After upgrading Zabbix Agent 2 to 5.0.22 (5.0.22-1.el7) item.key: pgsql.custom.query["\{$PG.SESSIONNAME}",,,,"postgresql_db_size",,,,,,"postgres"] preprocess: script: ## Item is active agent item. NB! if item is passive agent item, then there is no problems. Result: Expected: |
Comments |
Comment by Tauri Jaanus [ 2022 Apr 05 ] |
We downgraded to 5.0.21 and it still working there. I think it is possible connected with this: https://support.zabbix.com/browse/ZBX-20528 |
Comment by Tauri Jaanus [ 2023 Jan 17 ] |
Solution: to: pgsql.custom.query["POSTGRESQL",,,,"postgresql_db_size","postgres"] |