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

Discovery rule disabled after failure, cannot re-enable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 4.0.8
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
      None
    • Environment:
      Linux

      Description

      Steps to reproduce:

      1. Create a template with Discovery rule of type External Check.
      2. Assign template to host.
      3. Make the external check script returns an invalid JSON
      4. Observe the web interface for the host saying this discovery is not supported.

      Result:
      The discovery rule is never run again. Clicking on "not supported" link shows the rule as "Disabled". The rule in the template is, in fact, still "Enabled". There is no way to re-enable the discovery rule from the web interface aside form removing and re-adding the while template to the host.

      Expected:
      The discovery rule should run at the specified period no matter whether the previous run was successful or not (just like checks on all actual items do).

      Notes:

      This may or may not be related to the type of discovery, External check. I don't think I've seen the described misbehaviour before with more usual agent-driven discovery scripts.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              assen.totin Assen Totin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: