11 מטמון ערך

סקירה כללית

כדי לבצע את החישוב של ביטויי טריגר, פריטים מחושבים ו כמה פקודות מאקרו הרבה יותר מהר, אפשרות מטמון ערך נתמכת על ידי Zabbix שרת.

במקום זאת, ניתן להשתמש במטמון זה בזיכרון לצורך גישה לנתונים היסטוריים של ביצוע קריאות SQL ישירות למסד הנתונים. אם ערכים היסטוריים לא קיים במטמון, הערכים החסרים מתבקשים ממסד הנתונים והמטמון מתעדכן בהתאם.

כדי להפעיל את פונקציונליות ה-value cache, ValueCacheSize אופציונלי הפרמטר נתמך על ידי שרת Zabbix configuration.

שני פריטים פנימיים נתמכים לניטור מטמון הערך: zabbix[vcache,buffer,<mode>] ו zabbix[vcache,cache,<parameter>]. ראה פרטים נוספים עם פריטים פנימיים.

Item values remain in value cache either until:

  • the item is deleted (cached values are deleted after the next configuration sync);
  • the item value is outside the time or count range specified in the trigger/calculated item expression (cached value is removed when a new value is received);
  • the time or count range specified in the trigger/calculated item expression is changed so that less data is required for calculation (unnecessary cached values are removed after 24 hours).

Value cache status can be observed by using the server runtime control option diaginfo (or diaginfo=valuecache) and inspecting the section for value cache diagnostic information. This can be useful for determining misconfigured triggers or calculated items.

To enable the value cache functionality, an optional ValueCacheSize parameter is supported by the Zabbix server configuration file.

Two internal items are supported for monitoring the value cache: zabbix[vcache,buffer,<mode>] and zabbix[vcache,cache,<parameter>]. See more details with internal items.