Hey help me, I had a zabbix disk usage of 80% then 90% and now it has stopped working. How do I remove this data to make zabbix work again? provide steps, commands or is it done directly on the database?
Ad Widget
Collapse
help zabbix has stopped working
Collapse
X
-
Hello.
It looks that your db just growing up - it's a normal state.
What's your db size, disk size, items history and trends time, ...?
Info: Housekeeper is responsible to delete obsolete data from db.
-------------------------
omnisensuit.com -
Hello.
It's common that db will stop working when you have no disk space.
Check your OS with df -h command.
You will see the space total/used/free.
Try add some space if need nad possible.
I can recommand you to setup separate FSs for database data and logs.
-------------------------
omnisensuit.com
Comment
-
I cannot extend the disk. Could you please tell me how can I delete stories from the database? I do not need logs that have been collected for 6 months, I want to delete them and collect them again, but I do not want to lose settings, only delete the logs themselvesComment
-
Hello.
I mentioned db binary logs (you can't delete them).
If you are collecting some other logs just delete them.
You must release some space to db can run again.
Try find out everything you can delete from FS.
Than change setup of time for storing data in db - history and trends.
Change frequency for collecting data to less often.
It's possible deleta data from db directly but I really do not recommand to you this operation.
Just release some space and immediatelly after that change the history and trends.
Than keep eye on your monitoring of zabbix server/db.
And backup your setup/config files/hosts/templates etc.
Generally make backups to be able restore your system if something happen.
-------------------------
omnisensuit.com
Comment
-
Hello.
Not from web console at the first time but directly from the system.
Use ssh to connect the server and try delete some data.
(logs, tmp, packages, whatever is possible)
After that use web to change setup for history and trends.
-------------------------
omnisensuit.com
Comment
-
-
I have been gradually working out this worker, and it has been working impeccably up until now. I had around 20 UPSes in, and today I chose to add on of my destinations Cisco switches as well (around 10 or something like that). This went fine and dandy, all the information was gathered, however I go to mind it around evening time and I get "Zabbix isn't running" on the webui. Check the CLI and sure enough Zabbix-worker has halted.Comment
-
Hello przemo2
I would do following to try to clean full disk.
your disk space is full, your database engine propably won't start properly. and you cannot now connect to it to clean tables, is that correct?
try below steps and provide output:
1. Stop zabbix server process. - need to avoid writing new data to database after celaning up space
2. Clean some disk space to make database up again - you can erase / move old log files ( I mean for example any application log located in /var/log)
3. Start Database service
4. truncate tables in database. you are interested in 2 huge tables (history.uint / trends/uint) by truncating these tables your space should be reclaimed
5. enable zabbix services
installation should collect data from scratch, and should work fine until next lack of space.
Comment
Comment