Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-2371

Size of ITEM key is limited to 256 characters

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 1.8.1
    • Server (S)
    • None
    • Zabbix 1.8.1

      I want to create an ITEM with the following settings:

      • Type: External check
      • Key:

        smtpcheck[--host="

        Unknown macro: {HOSTNAME}

        " --port="{$INO.SMTP.CHECK.PORT}" --from="{$INO.SMTP.CHECK.FROM}" --to="{$INO.SMTP.CHECK.TO}" --deliver="{$INO.SMTP.CHECK.DELIVER}" --auth="{$INO.SMTP.CHECK.AUTH}" --tls="{$INO.SMTP.CHECK.TLS}" --user="{$INO.SMTP.CHECK.USER}" --password="{$INO.SMTP.CHECK.PASSWORD}" --subject="{$INO.SMTP.CHECK.SUBJECT}" --body="{$INO.SMTP.CHECK.BODY}"]

      I am able to save this ITEM in a TEMPLATE, but if I link the TEMPLATE to a host an error message is shown:

      1. Incorrect key format 'key_name[param1,param2,...]'

      The ITEM key gets cut to 256 characters, thus leading to this error. I think this limitation makes external checks something useless. I would like to see this limit increased to - let's say - 4096 characters. This should be enough for most scripts which require a lot arguments.

            Unassigned Unassigned
            fraenki Frank Wall
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: