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

Remote command not usable in "Action" for "Auto registration" events

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Server (S)
    • Environment:
      GNU/Linux

      Description

      Scenario: one step of "Action" for "Auto registration" events adds a new host, the next step runs a remote command on the newly added host.
      The remote command fails when zbx_execute_script_on_agent() invokes DCconfig_get_interface_by_type(), which cannot find item's interface in configuration cache. The new host is registered in the database but not yet present in the configuration cache.
      It was observed while testing implementation of ZBXNEXT-1726.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              andris Andris Mednis
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: