[ZBX-17914] HTTP Agent error Created: 2020 Jun 15  Updated: 2024 Apr 10  Resolved: 2020 Jun 25

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 5.0.1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Elena Assignee: Andris Zeila
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Item in Template.PNG     PNG File image-2020-06-15-15-14-12-944.png     PNG File image-2020-06-15-15-18-10-502.png     PNG File image-2020-06-15-15-27-59-978.png     PNG File image-2020-06-15-15-32-06-827.png    
Issue Links:
Duplicate
is duplicated by ZBX-17816 Wrong Query fields when linking templ... Closed
is duplicated by ZBX-17961 Bug in "HTTP agent" item Closed
Team: Team A
Sprint: Sprint 65 (Jun 2020)

 Description   

Steps to reproduce:

  1. Create template HP_2530 with http agent Item: 
  2. Discovery rule and action have been created. Action is link the template to discovered host
  3. Discovery enabled
  4. Host was discovered and template was linked: 

Result:
Http agent Item error in log: "item "SAM-SW-hp2530-2:netbox.site" became not supported: Invalid query fields"

The same error in web: 

Query field is missing inside item in discovered host:

Error is cleared after update item in template by clicking the update button.

Query field is added to item in discovered host: 

Error was disappeared in log: "item "SAM-SW-hp2530-2:netbox.site" became supported" and in web.

Error is absent if host was created manualy and the same template was linked to the host.  
Expected:
Get item without error after discovered host was added.



 Comments   
Comment by Kristians Pavars [ 2020 Jun 17 ]

Hi elena.sakhno

 

Thanks for reaching out to Zabbix public bug tracker

I confirmed this behaviour. When the host is discovered and template is linked via discovery/ autoregistration action, the http agent parameters are empty. If you go to the template and click update, then it populates the query field on the discovered host. Same behavior happens with active agent autoregistration.

 

Thanks,
Kristiāns

Comment by Andris Zeila [ 2020 Jun 25 ]

Thanks, we found out that it was already fixed in ZBX-17816, closing as duplicate.

Generated at Sun Apr 06 13:31:54 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.