zabbix-mysql-partitioning-perl icon indicating copy to clipboard operation
zabbix-mysql-partitioning-perl copied to clipboard

Add docker support

Open thiagomdiniz opened this issue 2 years ago • 1 comments

I made some modifications to the Perl script referring to the logs and the database connection parameters to be able to work with environment variables inside the Docker container.

I also added a docker folder containing the files to run the container, a Dockerfile to build the container and a Zabbix template to monitor the execution of the partitioning routine.

Maybe you think the change is too big, but I hope I can help other members of the community. Thanks in advance!

thiagomdiniz avatar May 24 '23 03:05 thiagomdiniz

Hi @thiagomdiniz

Thanks a lot for adding your code to the repository for Docker instances. I haven't been able to do a full test on this yet, but I am trying to pick it up in the coming weeks to make this part of partitioning.

I did a quick run over, all seems well. Just need to test it out in various environments, making sure it all still works on non-docker as well :) Will update you a.s.a.p.

larcorba avatar Jul 07 '23 07:07 larcorba

Sorry it took so long @thiagomdiniz but I've tested and included your Docker edits into the 6.0 release with Zabbix 7.0 support.

If there's any edits meanwhile feel free to open a pull request for it here! Docker support is now officially part of this version of the script :)

Thanks for the contribution!

larcorba avatar Jun 02 '24 06:06 larcorba