[ZBXNEXT-5211] Auto register Hosts with over 64 characters on their name Created: 2019 May 07  Updated: 2024 Apr 10  Resolved: 2019 May 23

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Proxy (P), Server (S)
Affects Version/s: None
Fix Version/s: 4.4.0alpha1, 4.4 (plan)

Type: Change Request Priority: Minor
Reporter: Kaspars Mednis Assignee: Andrejs Kozlovs
Resolution: Fixed Votes: 1
Labels: autoregistration, dns
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Sub-task
Team: Team A
Sprint: Sprint 52 (May 2019)
Story Points: 0.25

 Description   

Hosts table allow creating hosts with up to 128 characters in their name and visible name fields, but auto-registration allows only 64 characters maximum. 

https://www.zabbix.com/documentation/4.0/manual/appendix/config/zabbix_agentd

Parameter Mandatory Range Default Description
Hostname no   Set by HostnameItem Unique, case sensitive hostname.
Required for active checks and must match hostname as configured on the server.
Allowed characters: alphanumeric, '.', ' ', '_' and '-'.
Maximum length: 64

The limitation is also on autoreg_host and proxy_autoreg_host tables, where host is defined as host | varchar(64)

The suggestion is to increase these limits to allow hosts with up to 128 chars in their names to be auto registered. This will allow long FQDN names to be used for auto-registration.



 Comments   
Comment by Vladislavs Sokurenko [ 2019 May 15 ]

(1) [D] Documentation needs to be updated on maximum allowed hostname

martins-v Updated documentation:

RESOLVED

ak CLOSED

Comment by Andrejs Kozlovs [ 2019 May 15 ]

Fixed in:

  • 4.4.0alpha1 (trunk) 68eee5f02d8
Generated at Fri Apr 26 19:49:56 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.