[ZBX-20452] Zabbix agent 2 pgsql.custom.query key can't parse argument for custom sql scripts Created: 2022 Jan 18  Updated: 2024 Apr 10  Resolved: 2022 Apr 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent2 plugin (G)
Affects Version/s: 5.0.19
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Aleksey Volodin Assignee: Sergey Simonenko (Inactive)
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
Duplicate
duplicates ZBX-20539 Regression when using pgsql.custom.qu... Closed
Team: Team B
Sprint: Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022)
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Configura Agent and PostgreSQl server as shoved here - https://www.zabbix.com/ru/integrations/postgresql#postgresql_agent2
  2. Add custom sql script with parameter
  3. Test custom sql script with parameter

Result:

zabbix_agent2 -t pgsql.custom.query["tcp://localhost:5432","zbx_monitor","zbx_monitor","postgres","test1","2021"]
[m|ZBX_NOTSUPPORTED] [Invalid parameters: "TLSConnect" cannot be passed as a key parameter.]

Expected:

Custom parameter work



 Comments   
Comment by Sergey Simonenko (Inactive) [ 2022 Apr 21 ]

Hello,

This issue has already been resolved as part of ZBX-20539. The fix version starts with 5.0.22 for 5.x.

Kind regards,
Sergey

Generated at Sun Mar 16 03:37:15 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.