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

Duplicate Applications can't be assigned to same host if case is different.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 2.2.1, 2.2.2
    • Frontend (F)
    • Zabbix 2.2.1 on CentOs 6.5 using MySql database backend.

      when assigning different templates that add items to the same application, if the Application name's case is not respected.

      In Example, if I was to link a template that defines Application "os" (lowercase) to a host that already had the "OS" (uppercase) application, we get the following error message:

      Error in query [INSERT INTO applications (name,hostid,applicationid) VALUES ('os','10106','597') ] [Duplicate entry '10106-os' for key 'applications_2']
      SQL statement execution has failed "INSERT INTO applications (name,hostid,applicationid) VALUES ('os','10106','597') ".

      If I was to change the template to use uppercase "OS" instead, I would not get the error message, and the template would be succesfully linked.

      I think this is mostly a standardization issue: Either Applications are case-sensitive and allow for same-name applications with different "case" to co-exist (Application, APPLICATION, application), or they are case-insensitive, and as such should be
      mapped" to the current Application name, even if "case" is different (Application, APPLICATION, application --> Application).

            Unassigned Unassigned
            gleepwurp Yannick Moussette
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: