I would also like to know if I can increase the size of the logsize without having to restart the Zabbix Server.
Ad Widget
Collapse
Can I include the Zabbix Server log in the logrotate? How?
Collapse
X
-
If you're going to use the Linux 'logrotate' command to manage log file rotation, you don't want to increase the LogFileSize parameter in zabbix_serverd.conf, you want to set it to 0. That disables Zabbix's internal log file rotation. Looking at the man page for zabbix_serverd, I don't see a way to change that without having to restart the server.
Because my organization wants the Zabbix logs to be handled the same way all our other system logs are, we do use logrotate to handle rotation of the server (and agent) files. It has worked well for us.
Comment