Zabbix db media.active issue (0 means enabled, 1 means disabled ??)

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.23
    • Component/s: Server (S)
    • None
    • Environment:
      Rocky linux 8.10, ubuntu 24.04.4

      Steps to reproduce:

      1. zabbix=# select mediaid, userid, mediatypeid, active from public.media;
         mediaid | userid | mediatypeid | active
        ---------+--------+-------------+--------
              50 |     46 |           1 |      0
               4 |     22 |           1 |      0
              19 |     25 |           1 |      0
              23 |     29 |           1 |      0
               5 |      6 |           1 |      0
        (5 rows)

      Result:
      Currently, "active: 0" means it is enabled (in UI it shows enabled). And "active: 1" means it is disabled (in UI it shows disabled).
      **

      I mean where is the logic ?

      Expected:

      It would be most logical, that "active: 0" means it is disabled.

      And "active: 1" means it is enabled.

            Assignee:
            Zabbix Development Team
            Reporter:
            Raul Kaubi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: