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

Cannot add trigger Incorrect trigger expression. Host "xyz" does not exist or you have no access to this host.

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.2
    • Fix Version/s: 4.0.6rc1, 4.2.0beta2, 4.2 (plan)
    • Component/s: API (A)
    • Labels:
      None
    • Team:
      Team B
    • Sprint:
      Sprint 48, Jan 2019, Sprint 49 (Feb 2019)
    • Story Points:
      0.25

      Description

      Description:

      1. user have access to templates which rw and to host which read
      2. user can add items in templase
      3. template is linked to a host
      4. when user tries to add or update trigger, error: "cannot add trigger
        Incorrect trigger expression. Host "xyz" does not exist or you have no access to this host."

       

      Result:

      • Incorrect trigger expression. Host "xyz" does not exist or you have no access to this host. [triggers.php:363 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTrigger->update() → CTriggerGeneral->inherit() → CTriggerGeneral->inheritOnHost() → CTriggerGeneral->updateReal() → CTriggerGeneral->implode_expressions() → CApiService::exception() in include/classes/api/services/CTriggerGeneral.php:1365]
         

        Attachments

          Activity

            People

            • Assignee:
              Miks.Kronkalns Miks Kronkalns
              Reporter:
              vzvyagina V Zvyagina
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: