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

Ambigious error while adding templates

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • None
    • API (A), Frontend (F)

      How to reproduce:

      • create a host with no teplates
      • link template 'Template OS AIX'
      • save
      • link template 'Template OS Linux'
      • save

      observe error

      "Template "Template OS Linux" with item key "agent.hostname" already linked to host. [hosts.php:514 ? CFrontendApiWrapper->update() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CHost->update() ? CHost->massUpdate() ? CHost->massAdd() ? CHostGeneral->massAdd() ? CHostGeneral->link() ? CHostBase->link() ? CApiService::exception() in /home/andrew/zabbix/dev/trunk/frontends/php/api/classes/CHostBase.php:95]".

      This is wrong. The error should be about "Template OS AIX" or, more specifically, about "Tempalte Zabbix Agent linked by Template OS AIX".

      I'm well aware that adding two OS templates in a row is not quire right, yet I suppose that it is repeatable with other templates and still the error message is mailformed.

            Unassigned Unassigned
            andrewtch Andrejs Čirkovs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: