Ad Widget

Collapse

Zabbix database to big

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marafado88
    Junior Member
    • Mar 2018
    • 27

    #1

    Zabbix database to big

    Hello,

    I am facing a problem with zabbix database, where is growing a lot day by day, and I would like to know if there is a way in zabbix to reduce the period of time of sampling and how can I remove/delete old history from hosts with more then 3 months for example.

    I have already clean (with postgresql vacuum analyse, there is no space enough for full) the database, but it is just temporary because sooner or later it will have no space avaiable in the system.

    Anyone?
  • kernbug
    Senior Member
    • Feb 2013
    • 330

    #2
    Originally posted by marafado88
    Hello,

    I am facing a problem with zabbix database, where is growing a lot day by day, and I would like to know if there is a way in zabbix to reduce the period of time of sampling and how can I remove/delete old history from hosts with more then 3 months for example.

    I have already clean (with postgresql vacuum analyse, there is no space enough for full) the database, but it is just temporary because sooner or later it will have no space avaiable in the system.

    Anyone?
    Hi

    Please, review your history and trends settings.
    More information you can find here: https://www.zabbix.com/documentation...y_and_trends?s[]=housekeeper
    Built-in cleaning mechanism 'housekeeper': https://www.zabbix.com/documentation...al#housekeeper
    Another way to control data: database partitioning ( 2 in 1 solution - performance/cleaning )

    Comment


    • marafado88
      marafado88 commented
      Editing a comment
      Thanks a lot kernbug, didnt knew about that housekeeper option, it was so hidden lol
Working...