[HOWTO] Deploy Cacti using Docker with no time

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

Post Reply
User avatar
polinux
Posts: 2
Joined: Wed Jul 30, 2014 2:58 am
Location: Reading
Contact:

[HOWTO] Deploy Cacti using Docker with no time

Post by polinux »

Hi Guys,

I have prepared some time ago an Docker Image with Cacti for an easy deployments.
If you Like that Idea please use it and enjoy

https://registry.hub.docker.com/u/polinux/cacti/
oldcreek
Posts: 1
Joined: Sun Aug 23, 2015 12:48 am

Re: [HOWTO] Deploy Cacti using Docker with no time

Post by oldcreek »

Thank you so much for your effort, that saves a lot of time when you need to get a Cacti running. However, I am more interested to know how to utilize docker to achieve some level of Cacti configuration management.

When Cacti is installed and running, Cacti related files are spread everywhere, we obviously will add new hosts, new templates, new plugins, creating new RRD files etc ... I want to be able to recreate a Cacti server if original server dies or I want to keep a version control of all important files, it is going to be PITA to achieve this goal via puppet/chef etc, how can docker help here? I understand that Docker is not created for this purpose.
polinux wrote:Hi Guys,

I have prepared some time ago an Docker Image with Cacti for an easy deployments.
If you Like that Idea please use it and enjoy

https://registry.hub.docker.com/u/polinux/cacti/
User avatar
polinux
Posts: 2
Joined: Wed Jul 30, 2014 2:58 am
Location: Reading
Contact:

Re: [HOWTO] Deploy Cacti using Docker with no time

Post by polinux »

Hi

If you are using separate database just dump it and import into new one and save docker image that you have running

`docker save` should help.. see docker documentation
smartao
Posts: 1
Joined: Fri Mar 17, 2017 9:16 am

Re: [HOWTO] Deploy Cacti using Docker with no time

Post by smartao »

polinux wrote:Hi

If you are using separate database just dump it and import into new one and save docker image that you have running

`docker save` should help.. see docker documentation
I started to study docker recently, my first task is to migrate the cacti service to docker, i saw your cacti image in the docker hub and found it very complete, however i am having difficulty migrating the files to that image, can you show me who can to import database into RDD files for this docker?
albasir
Posts: 1
Joined: Sun May 09, 2021 4:35 pm

Re: [HOWTO] Deploy Cacti using Docker with no time

Post by albasir »

is there a docker for cacti that works on arm processor, specifically the M1 apple's MacBook Pro..

thanks
FriFra
Posts: 8
Joined: Sat Jan 06, 2024 12:39 pm

Re: [HOWTO] Deploy Cacti using Docker with no time

Post by FriFra »

I tryed it on my synology, but it cannot reach my mysql server and shuts the container down:

"Can't connect to mysql server..."
MartinGillmann
Posts: 1
Joined: Fri Apr 12, 2024 2:47 am

Re: [HOWTO] Deploy Cacti using Docker with no time

Post by MartinGillmann »

@FriFra

Please try
https://hub.docker.com/repository/docke ... ch/i_cacti

or build the docker image yourself with
https://github.com/MartinGillmann/cacti ... -raspberry

It is done for Raspberry but should work for synology too.
Please give me a feedback.

Regards Martin
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests