[ZBX-23830] Create host prototype by JSON Created: 2023 Dec 13  Updated: 2023 Dec 22  Resolved: 2023 Dec 22

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

Type: Incident report Priority: Trivial
Reporter: Alex Assignee: Unassigned
Resolution: Commercial support required Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 20


Attachments: PNG File image-2023-12-13-12-17-03-009.png     PNG File image-2023-12-13-12-18-29-248.png     PNG File image-2023-12-13-12-19-17-547.png    

 Description   

Steps to reproduce:

I created a Template in Zabbix based on JSON using Discovery rule.

"Master" item

Discovery rule based on master item

LLD macros

While everything is working, items are created if manually create a host and add the created template.
But I would like to create hosts based on data from JSON using Host Prototype.

I expect that hosts will be automatically created with items based on Discovery rule.
But I don’t see anything in MONITORING->HOST.

 



 Comments   
Comment by Facundo Vilarnovo [ 2023 Dec 14 ]

Hello,

"A host will only be created if a host interface contains correct data."

https://www.zabbix.com/documentation/current/en/manual/discovery/low_level_discovery/host_prototypes

Could be an incorrect value for interface?

Regards.-

Comment by Alex [ 2023 Dec 15 ]

This template should monitor the status of TVs.

There is no way to install an agent on these TVs.

What to do in this case?

TVs have a service port for controlling 26101, is it possible to use it as an interface?

Comment by Alexey Pustovalov [ 2023 Dec 22 ]

Yes, it is possible. Use agent interface in this case.

Generated at Fri Apr 25 07:35:54 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.