Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9719

History cache auto diaginfo and runtime command for cleanup

XMLWordPrintable

    • S25-W2/3, S25-W4/5, S25-W6/7
    • 2

      Under some extreme data collection scenarios (that can be considered a suboptimal configuration), the history cache may be taken over by a few "spammy" items, disrupting DB history writes and slowing down the entire system. Once such values get into the history cache, it's difficult to do anything other than wait until the history cache becomes available.

      To deal with such cases in the long term the data collection must be balanced with the resources available (DB performance, cache size, collection intervals, log item parameters, etc). However, to remedy such situations in the short term, Zabbix should also provide some tools. Specifically:

      • Print history cache diaginfo once the history cache is full
      • Clean up the cached values for the item once it's disabled (possibly, leaving the last one for logs to keep the state)
      • Provide a runtime command to clean up the cached values by item id

            zabbix.dev Zabbix Development Team
            Kalimulin Alex Kalimulin
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: