ExportXMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: 8.0.0rc1
    • Component/s: Server (S)

      The "Enable host" operation of an autoregistration or network discovery action has no effect - the host stays disabled. The audit log entry is still written, so Reports -> Audit log incorrectly reports that the host status was changed to Enabled. The "Disable host" operation works correctly. Reproduced on master (8.0); 7.4 and 7.0 are not affected.

      Steps to reproduce:

      1. Create an autoregistration action with the operation "Disable host"
      2. Start an configured agent so that it autoregisters:
        Hostname=TestAutoreg
        HostMetadata=TestCase1
      3. Check that the host is created and appears as Disabled in Data collection -> Hosts
      4. Change the action operation to "Enable host"
      5. Change the agent's HostMetadata and restart the agent so that autoregistration is triggered again for the same host.
      6. Check the host status in Data collection -> Hosts and the entry in Reports → Audit log.

      Result:
      The host status stays Disabled. Reports -> Audit log nevertheless contains a host update record showing status changed from Disabled to Enabled.
      Expected:
      The host status is changed to Enabled, matching the audit log record

            Assignee:
            Zabbix Development Team
            Reporter:
            Natalja Romancaka
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: