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

Discovery Action Condition "Discovery status equals Lost/Down" Not Working

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Frontend (F), Server (S)
    • None

      Setup

      • Zabbix version: 7.4.2
      • 3 VM with Ubuntu 24.04 (one for server, one for frontend, one for DB)
      • DB: PostgreSQL 16 with TimescaleDB 2.19.3

      Steps to Reproduce

        • Created a discovery rule named Discovery1 which scan 3 IP reachable and with a check ICMP Ping + Zabbix Agent (unencrypted) with key agent.hostname.
        • Added two discovery actions:
          • Action 1:
            Conditions:
            • Discovery object equals Service
            • Discovery rule equals Discovery1
            • Discovery status equals Down (or Lost, it has the same problem)
            • Service type equals Zabbix agent
              Operation: Add host tag agent: down
          • Action 2:
            Conditions:
            • Discovery object equals Service
            • Discovery rule equals Discovery1
            • Discovery status equals Discovered
            • Service type equals Zabbix agent
              Operation: Remove host tag agent: down

      Result

      • When the Zabbix agent check (service, not device) goes Down/Lost, Action 1 does not trigger (no tag added to the host when the service is down).
      • Action 2 works correctly when the service is in status Discovered (I created the tag manually to check it)
      • No relevant entries in Action Log for both actions.

       

      Expected

      • When the Zabbix agent check (service) goes down, the discovery action with Discovery status equals Down should trigger and add the host tag agent: down.

       

            zalex_ua Oleksii Zagorskyi
            rockandstone Andrea Marconi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: