Monitorix icon indicating copy to clipboard operation
Monitorix copied to clipboard

MultiHost and Firewall

Open IzzySoft opened this issue 8 years ago • 4 comments

Never having used this, I always thought the multi-host enabled server would be used to retrieve the pages from other hosts in this context. Now having a use-case for this (multiple servers behind a firewall, with just one exposed to HTTP/s) I've learned better.

Maybe a switch could be introduced controlling whether the client shall contact all hosts directly, or the "master" shall play proxy? Alternatively, I'd also accept a new MultiHostProxy group of course :)

IzzySoft avatar Dec 08 '15 17:12 IzzySoft

Yes, I know, this is a long standing pending feature. I'll use that issue to send news on the progress. Thanks.

mikaku avatar Dec 09 '15 16:12 mikaku

My pleasure. Big thanks from my end follows later then :)

Btw: Maybe that could be realized via an additional "flag" to the host as well (so we don't need another group). If it's possible to add that to the end, and have it default to "noproxy" when not set, it wouldn't break existing configs.

IzzySoft avatar Dec 09 '15 20:12 IzzySoft

I think, that is what I am facing right now. Connected via SSH tunnel to a main monitor node that should connect to all workers, but unable to see them, probably because the notebook from which I connect is in a different network.

sorenwacker avatar Jun 13 '23 16:06 sorenwacker

@sorenwacker, yes the browser in your notebook is the one who tries to fetch all the graphs from remote Monitorix.

As a work-around I'd recommend you to install a simple proxy (like Tinyproxy) in your "main monitor", that's how I do it in certain configurations.

mikaku avatar Jun 14 '23 07:06 mikaku