• Contact
  • Homelab
Dimitris Tonias
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
  • Management
  • Monitoring
  • Cloud
  • Virtualization
  • Networking
  • Productivity
No Result
View All Result
Dimitris Tonias
No Result
View All Result

Zabbix server: More than 75% used in the trends cache

Dimitris Tonias by Dimitris Tonias
April 23, 2024
in Monitoring
Reading Time: 3 mins read
A A
0
Share on FacebookShare on Twitter

In Zabbix, “trends” are a type of data storage representing aggregated historical data. Zabbix monitors and collects a vast amount of data from various sources, which can quickly become large and cumbersome to manage and analyze. To efficiently handle this, Zabbix uses two primary types of historical data storage: History and Trends.

The primary purpose of Trends is to reduce storage requirements and improve the performance of long-term data analysis and visualization. By storing trends, Zabbix allows users to maintain historical performance and status information over extended periods (months or even years) without overwhelming the database with detailed history records.

The message “Zabbix server: More than 75% used in the trends cache” from your Zabbix monitoring system indicates that the trends cache size is nearing or exceeding its configured maximum limit, which can impact performance.

This issue arises when the trends cache, which stores trend data before it is written to the database, fills up due to high data input rates or insufficient flushing.

As you can see in the graph below, the trends cache is reaching its maximum value, which is currently 4 MB.

How to fix high trends cache usage on the Zabbix server

After SSH into the Zabbix server, open the Zabbix configuration file with your favorite editor, like the Nano editor. You can typically find it in /etc/zabbix/zabbix_server.conf

sudo nano /etc/zabbix/zabbix_server.conf

Find the parameter TrendsCacheSize.

Change the size of Trends Cache to a greater value than the current one. In this case, I’m changing the value from 4 MB to 64 MB.

To apply the new TrendsCache size, you have to restart the zabbix-server service. Type the following command:

sudo systemctl restart zabbix-server

As you can see in the Trends Cache Usage graph below, after I restarted the server, the problem no longer exists.

As an extra precaution, you can view the graph of all of your Zabbix server caches, like the Configuration Cache, where we had a similar issue before, in the Zabbix Server Health Dashboard.

By taking these steps, you should manage the trends cache usage more effectively and keep your Zabbix server running smoothly.

Tags: Zabbix
ShareTweetPin
Previous Post

Check word count on Google Docs

Related Posts

Zabbix server: More than 75% used in the configuration cache
Monitoring

Zabbix server: More than 75% used in the configuration cache

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
Zabbix server: More than 75% used in the trends cache
Monitoring

Zabbix server: More than 75% used in the trends cache

In Zabbix, "trends" are a type of data storage representing aggregated historical data. Zabbix monitors and collects a vast amount...

Read moreDetails
Check word count on Google Docs

Check word count on Google Docs

Zabbix server: More than 75% used in the configuration cache

Zabbix server: More than 75% used in the configuration cache

Approve updates in WSUS 2016

Approve updates in WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure Group Policy to deploy updates using WSUS 2016

Configure computer groups in WSUS 2016

Configure computer groups in WSUS 2016

The initial configuration of WSUS 2016

The initial configuration of WSUS 2016

Get more stuff

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

we respect your privacy and take protecting it seriously

  • Contact
  • Homelab

© 2024 Dimitris Tonias

No Result
View All Result
  • About
  • Contact
  • Free Tools
  • Home
  • Homelab

© 2024 Dimitris Tonias

This website uses cookies. By continuing to use this website you are giving consent to cookies being used.