Hey everyone! I manage four VPS on my cloud provider along with some internal servers for in-house use. I'm looking to set up a monitoring server using Debian 13 and Zabbix 7.0 to keep an eye on both my external VPS and internal machines. The challenge I'm facing is that my workplace has a pretty unstable internet connection, plus I'm dealing with dynamic IPs due to being under CGNAT with only two IP blocks available. This means I might lose some monitoring data, especially for the VPS, which is a concern for me.
I'm considering spinning up another VPS with Debian 13 and Zabbix, and running it under a WireGuard VPN to connect all my servers (local and remote) securely. The idea is to monitor everything from the external host using Zabbix Agent with SSH and some plugins, ensuring encryption with keys for SSH. Does this setup sound secure enough? I'd really appreciate any suggestions or insights. Thanks!
5 Answers
If you stick with Zabbix, consider using Zabbix Agent 2. It has a handy feature that caches data if it can't reach your server. You could also set up a VPS as a Zabbix Proxy to gather data from the agents and send it back whenever the connection allows. Trying the Zabbix Agent 2 option is a good first step!
Have you thought about using Prometheus with remote write functionality? It’s great for situations like yours where there's unstable connectivity. You can deploy a small instance behind the CGNAT and it buffers the data, reconnects, and sends it back to your main system when it's stable. Alternatively, you could look into managed solutions like Grafana Cloud, which can handle this for you.
Honestly, I’d recommend dropping the internal server from your monitoring setup. It can complicate things with data loss and false alerts, especially given the unstable network and dynamic IPs you're already dealing with. If you still want some insight into the internal server, maybe set up a small PC or a Raspberry Pi next to it to collect basic data.
You might want to check out Netdata! You can run up to five agents for free, which could help with monitoring your servers without too much hassle.
Wow, I remember when we all used Nagios and Cacti for monitoring. Times have changed a lot since then!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures