[ZBXNEXT-6540] Zabbix agent 2 hostname as FQDN Created: 2021 Mar 04  Updated: 2023 Mar 27  Resolved: 2023 Mar 27

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent2 plugin (G)
Affects Version/s: 5.2.5
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Zek Assignee: Zabbix Support Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows


Issue Links:
Duplicate
is duplicated by ZBXNEXT-7132 FQDN support in system.hostname key f... Closed

 Description   

Zabbix agent 2 provide hostname without domain.

HostnameItem=system.run[hostname -f] settings is not working:

2021/03/04 03:24:56.533753 cannot process configuration: cannot get system hostname using "system.run[hostname -f]" item specified by "HostnameItem" configuration parameter: character ":" is not allowed in host name

Please add ability to send hostname as FQDN.



 Comments   
Comment by Konstantins Prutkovs (Inactive) [ 2023 Mar 27 ]

Related to ZBXNEXT-7132.
Zabbix agent and Zabbix agent 2 now support system.hostname[fqdn] items. So you are able to specify an item that will retrieve FQDN.

Generated at Sat Aug 16 20:58:23 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.