Hi,

I don’t know if this has been asked before, but I’m looking for a way of 
setting up a Icinga2 cluster in an environment where there isn’t TCP 
connectivity between the various hosts that need their processes monitored.

The scenario is one where there are host machines (which are networked) each of 
which have a number of virtual containers running on them. (In my case, they 
are FreeBSD machines with ‘jails’ on them, which are a bit like linux 
containers).

What I’d like to do is to have satellites on each host machine, communicating 
with clients on each of the jail/containers.

Here’s the tricky bit, each of the containers are isolated from the host’s 
network (they are on IP network, but they are running separate IP stacks routed 
to the outside world separate from the host management network for security).

What I can do is get IPC between the host and the jails via unix domain sockets 
(https://en.wikipedia.org/wiki/Unix_domain_socket).

It doesn’t look like Icinga2 clients can be set to listen on domain sockets 
instead of TCP sockets; that’s understandable because domain sockets only live 
on a single host, and traditionally (without containers) there would be no 
valid use case to have an Icinga master and a Icinga slave on the same host.

However, my use case is valid, and I’m wondering how best to set it up.

My current though is to set up a pair of connected domain sockets, and then use 
a TCP proxy to bridge between the an socket on localhost on each end, and point 
Icinga to that…

Has anyone here thought about this? Any pointers would be gratefully received.

Cheers,
Joe
— 
Dr Josef Karthauser
Chief Technical Officer
(01225) 300371 / (07703) 596893
www.truespeed.com <http://www.truespeed.com/>
  / theTRUESPEED <http://www.facebook.com/theTRUESPEED> 
  @theTRUESPEED <https://twitter.com/thetruespeed>
 
This email contains TrueSpeed information, which may be privileged or 
confidential. It's meant only for the individual(s) or entity named above. If 
you're not the intended recipient, note that disclosing, copying, distributing 
or using this information is prohibited. If you've received this email in 
error, please let me know immediately on the email address above. Thank you.
We monitor our email system, and may record your emails.

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to