ZABBIX Forums  
  #1  
Old 19-12-2011, 12:25
xcalibur xcalibur is offline
Member
 
Join Date: Apr 2011
Posts: 38
Question Zabbix rapidly increasing storage space(?)

Hey,

I've been using Zabbix for about a half a year now.
When I first got it it was hardly 2GB.
Now it's reached almost 14GB(!).
Besides a few minor scripts I have nothing else running on the VM that's running Zabbix.
What could be causing this growth and how can I prevent it?

Thanks!
Reply With Quote
  #2  
Old 19-12-2011, 14:03
Davidus Davidus is offline
Senior Member
 
Join Date: Dec 2010
Location: Tbilisi, GE
Posts: 278
Default

Quote:
Originally Posted by xcalibur View Post
Hey,

I've been using Zabbix for about a half a year now.
When I first got it it was hardly 2GB.
Now it's reached almost 14GB(!).
Besides a few minor scripts I have nothing else running on the VM that's running Zabbix.
What could be causing this growth and how can I prevent it?

Thanks!
How many items do you have?
What is value for "Required server performance, new values per second?"
How often are you gathering new data? In other words, what do you have for your item`s update interval?
For how long do you keep item`s history, actions, and events?

Bottom line, disk usage can be caused by lot of things
Reply With Quote
  #3  
Old 19-12-2011, 14:17
xcalibur xcalibur is offline
Member
 
Join Date: Apr 2011
Posts: 38
Default

Quote:
Originally Posted by Davidus View Post
How many items do you have?
What is value for "Required server performance, new values per second?"
How often are you gathering new data? In other words, what do you have for your item`s update interval?
For how long do you keep item`s history, actions, and events?

Bottom line, disk usage can be caused by lot of things
I have 7 servers fully monitored plus about 20 URLs that are being sampled each minute.
My money's on "History" being saved.
Now my question is, how do I erase it?
Reply With Quote
  #4  
Old 19-12-2011, 14:34
Tractorboy Tractorboy is offline
Member
 
Join Date: Oct 2010
Posts: 86
Default Erasing Hisotry

For each item you can define the history before it trends and then finally gets deleted. You can also delete hsitroy on each item.
Reply With Quote
  #5  
Old 19-12-2011, 17:28
bcarpio bcarpio is offline
Member
 
Join Date: Jun 2008
Posts: 95
Default ibdata1? Maybe

Check /var/lib/mysql and make sure ibdata1 isn't growing out of control.

http://bugs.mysql.com/bug.php?id=1341
Reply With Quote
  #6  
Old 20-12-2011, 07:03
Davidus Davidus is offline
Senior Member
 
Join Date: Dec 2010
Location: Tbilisi, GE
Posts: 278
Default

Quote:
Originally Posted by xcalibur View Post
I have 7 servers fully monitored plus about 20 URLs that are being sampled each minute.
My money's on "History" being saved.
Now my question is, how do I erase it?
If you want to delete history for lot of items you can also manipulate with DB, but have to be careful here
Reply With Quote
  #7  
Old 20-12-2011, 16:34
xcalibur xcalibur is offline
Member
 
Join Date: Apr 2011
Posts: 38
Default

Quote:
Originally Posted by Davidus View Post
If you want to delete history for lot of items you can also manipulate with DB, but have to be careful here
Yeah...way too many items to do it manually.
I guess I'll backup first :-\
Reply With Quote
  #8  
Old 21-12-2011, 06:58
Davidus Davidus is offline
Senior Member
 
Join Date: Dec 2010
Location: Tbilisi, GE
Posts: 278
Default

Quote:
Originally Posted by xcalibur View Post
Yeah...way too many items to do it manually.
I guess I'll backup first :-\
You are right without backup its way do dangerous
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:18.