Possible documentation typo in housekeeping procedure (problems table vs events table)

XMLWordPrintable

      Hello Zabbix Documentation Team,

      I would like to report a possible typo in the Zabbix 8.0 (devel) documentation.

      Documentation page:
      https://www.zabbix.com/documentation/devel/en/manual/concepts/server#housekeeping-procedure

      The documentation currently states:

      For network discovery - removes outdated discovery events from the problems table.

      However, the source code appears to indicate that network discovery housekeeping removes records from the events table.

      Source code references

      1. Network discovery housekeeping is executed by the housekeeper
        https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/zabbix_server/housekeeper/housekeeper_server.c?at=refs%2Ftags%2F8.0.0beta1#1107
      2. Network discovery housekeeping is configured to process the events table
        {"events", "eventid", "source=%d and object=%d",
                &cfg.hk.events_mode, &cfg.hk.events_trigger, HOUSEKEEPER_PERIOD},
        

        https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/zabbix_server/housekeeper/housekeeper_table.c?at=8.0.0beta1#350

      3. The housekeeping implementation processes event IDs for deletion
        https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/zabbix_server/housekeeper/trigger_housekeeper.c?at=8.0.0beta1#80
        This implementation also appears to operate on event records rather than entries in the problems table.

      Based on the above references, it seems that the following documentation text:

      For network discovery - removes outdated discovery events from the problems table.

      should instead be:

      For network discovery - removes outdated discovery events from the events table.

      Could you please verify whether this is a documentation typo?
      Thank you.

            Assignee:
            Zabbix Development Team
            Reporter:
            Kazuo Ito
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: