Ad Widget

Collapse

Zabbix 4.0 64 character hostname limit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adrian_c
    Junior Member
    • Nov 2018
    • 12

    #1

    Zabbix 4.0 64 character hostname limit

    Is there anyway to increase the 64 character limit of the "hostname" field in the agent configuration file, according to the 4.0 documentation here: https://www.zabbix.com/documentation.../zabbix_agentd, the hostname parameter has a maximum length of 64 characters.

    We use an "autoregistration" script on our Zabbix server which uses the API's to create the host and add templates based on its name, but with agents that have a hostname>64 characters only the first 64 characters of the hostname are passed to the script which results in a host item being created with a truncated name and the wrong templates being associated.

    Thanks
    Adrian
  • adrian_c
    Junior Member
    • Nov 2018
    • 12

    #2
    I forgot to mention that I need to set the "HOSTNAME" field in the Zabbix agent to the FQDN as I have multiple servers that have the same hostname but in different domains.

    Comment

    • ronit_g93
      Junior Member
      • Jul 2018
      • 3

      #3
      All the servers are using same proxy or different proxies for communication?

      Comment

      • vso
        Zabbix developer
        • Aug 2016
        • 190

        #4
        Is it an option to use host metadata ?

        Comment


        • ronit_g93
          ronit_g93 commented
          Editing a comment
          I guess its optional and not mandatory.
      • donkus
        Junior Member
        • Jun 2021
        • 3

        #5
        I have created some user on zabbix 5.4 and want to limit hosts that can be added.

        Does anyone know how to set a limit of hosts that can be added per user on zabbix 5.4?

        Comment

        Working...