[ZBXNEXT-1520] Increase the 63 character limit for Hosts/DNS name (Z4) Created: 2012 Nov 19 Updated: 2018 Jan 19 Resolved: 2017 Dec 10 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.2 |
Fix Version/s: | 4.0.0alpha1, 4.0 (plan) |
Type: | Change Request | Priority: | Minor |
Reporter: | Lucian Craciun | Assignee: | Sergejs Paskevics |
Resolution: | Fixed | Votes: | 17 |
Labels: | cloud, patch, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | 0001-Add-DB-migration.patch 0001-Use-128-chars-for-DNS-name.patch long_dns.png | ||||||||||||
Issue Links: |
|
||||||||||||
Team: | Team C | ||||||||||||
Sprint: | Sprint 21, Sprint 22 | ||||||||||||
Story Points: | 1.5 |
Description |
Can you please increase the 63 character limit for the DNS name/Host name fields for hosts. |
Comments |
Comment by Alexei Vladishev [ 2014 Sep 25 ] |
The length was extended to 128 characters in 2.4.0. I'm closing it. |
Comment by Pedro Spagiari [ 2014 Oct 03 ] |
Hi Alexei, are you sure about the 128 characters in 2.4.0? I have 2.4.0 server and agent and I received the error: |
Comment by Pedro Spagiari [ 2014 Oct 03 ] |
You probably got confused with the 'host' field that have 128 chars limit now. I found the limits and change it manually, the limits are in: Here: frontends/php/include/schema.inc.php:971 I didnt found a way to send a "pull-request" of it, if there is a way please let me know! Regards |
Comment by richlv [ 2014 Oct 03 ] |
indeed, host name/ip field in the interface table is still limited to 64 - reopening |
Comment by Volker Fröhlich [ 2014 Oct 03 ] |
Pedro, you can just attach a patch here, but most likely it's not just a frontend thing. |
Comment by Łukasz Jernaś [ 2014 Dec 02 ] |
Yup it's also a limit in the database schema |
Comment by Łukasz Jernaś [ 2014 Dec 02 ] |
Patch for 128 char support for 2.4 trunk |
Comment by Łukasz Jernaś [ 2014 Dec 02 ] |
DB migration patch |
Comment by Łukasz Jernaś [ 2014 Dec 08 ] |
OK, it seems to work on one of my servers for a week now, any chance it will come in 2.4.3 ? |
Comment by Aleksandrs Saveljevs [ 2014 Dec 08 ] |
There is a policy that Zabbix database schema does not change in minor versions, so versions 2.4.x will not have this change implemented. |
Comment by Gabe Friedmann [ 2016 Apr 20 ] |
Dang. I just noticed that this didn't make it into 3.0 either. |
Comment by Kay Schroeder [ 2017 Jan 04 ] |
When could this be implemented. The RFC1123 states that 63 characters are the minimum hostname-length a device must support and 255 characters should support. We are using the Zabbix-Repo and don't build it on our own to implement the patch, so we rely on the general avaibility. |
Comment by Ian Mckay [ 2017 Apr 12 ] |
I believe the patch does not work as of 3.0.8 (either server or frontend-php version). 3.0.7 seems to be working. |
Comment by Volker Fröhlich [ 2017 Apr 12 ] |
A mirage, because the database field is still varchar(64). |
Comment by dhewy [ 2017 Aug 08 ] |
Has this been implemented yet? If not, why/how so? It's been open for quite literally years... |
Comment by Wesley Mason [ 2017 Sep 22 ] |
We just ran into this problem too. Seems odd that they would let this be 'out of spec' for so long. |
Comment by Alexei Vladishev [ 2017 Nov 20 ] |
It will be implemented in Zabbix 4.0 if everything goes well. |
Comment by Piotr [ 2017 Nov 20 ] |
I think API also has same limit regardless database. |
Comment by Sergejs Paskevics [ 2017 Dec 05 ] |
Implemented in 4.0.0alpha1(trunk) r75385. |