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

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 2.2.1, 2.2.2
    • Component/s: Frontend (F)
    • Environment:
      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).

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

              Created:
              Updated:
              Resolved: