Pre-Installation question, regarding containers

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
phobos
Posts: 1
Joined: Fri Jul 26, 2019 1:29 pm

Pre-Installation question, regarding containers

#1 Post by phobos » Fri Jul 26, 2019 1:40 pm

Hello Cacti users,

I think about migrating away from my Cricket instance, switching to Cacti though it might be my current setup isn't really compatible. Well, right now at the monitoring server there're several container (chroot / jail) environment running.
If these one of these environments is reachable from the outside, the container itself can't do any communication anywhere, except through a TCP / UDP proxy to specific targets.
As example, a webserver runs inside a container, serves content to users, but can't do any communication anywhere by itself, e.g. running some update script. Like you put a client in a VLAN that is accessible, but can't access anything by itself.

So far so good, Cricket is running in one of these containers behind a Lighttpd instance and it's grapher.cgi for parsing the RRD data. The collector then again runs outside of the container environment, where it can reach all targets I want to collect information.

As far as I (maybe mis-) understood Cacti has Spine to collect and Spine can run anywhere, while Cacti runs somewhere else.

A try in a test environment didn't came far, as Cacti's installation routine is a bit picky about having binaries accessible which will never exist, as the intention is to do the collection somewhere else and just let Cacti do the graphing.

netniV
Cacti Guru User
Posts: 2885
Joined: Sun Aug 27, 2017 12:05 am

Re: Pre-Installation question, regarding containers

#2 Post by netniV » Fri Jul 26, 2019 3:23 pm

Spine and Cacti usually share the same MySQL database and RRD file locations. You can kinda work around that the files part by using RRDproxy which can proxy the requests.

User avatar
Osiris
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: Pre-Installation question, regarding containers

#3 Post by Osiris » Mon Jul 29, 2019 5:23 am

Sounds like a good use case for multiple data collectors.
Before history, there was a paradise, now dust.

Post Reply