Zabbix in selfhosted env
from cichy1173@szmer.info to selfhosted@lemmy.world on 01 Aug 11:15
https://szmer.info/post/8814246
from cichy1173@szmer.info to selfhosted@lemmy.world on 01 Aug 11:15
https://szmer.info/post/8814246
Hello. Does anyone here use Zabbix to monitor their self-hosted environment? If so, what architecture do you have, and what does your deployment look like?
threaded - newest
It’s still on my to-do list.
I have this running on a Raspberry Pi 5:
I use it at home, as a test environment as I brought it to 2 workplaces. I have a mysql VM and a front end VM.
have it on dietpi (pi 4) + tailscale at home to monitor my dedics
I used to. It’s really complicated and not big in the self hosted space.
I’d recommend the standard Prometheus, alert manager, and grafana stack instead. That’s what I use now, and although yaml sure is something, at least there’s tons of people to copy.
But can Prometheus + Grafana e.g. monitor a website’s content and alert when there is a new firmware version available?
Zabbix can be configured completely via its GUI. It’s really easy once you get the hang of it.
Ehh. I wouldn’t say it’s ever easy. At least not the initial setup. No matter how many times I do it, that initial setup is always a pain in the butt.
But once you get it configured and go through the initial headaches, it’s a breeze to coast on it.
What is complicated in Zabbix?
Zabbix is more powerfull for complex alerting scenarios and has better agent-based monitoring, while Prom/Grafana excels at metrics visualzation and integrates better with containers - they’re actually complementary depending on what you’re monitoring.
I am using it and tbh didn’t have too many issues with it. It runs as a LXC on my Proxmox server.
With that it’s a fairly comfortable setup - it does have API access on the proxmox node and therefore automatically discovers all LXCs,even the ones you add after the installation.
For other machines I use a fairly easy bash script to download the agent 2 and then overwrite the config file with the right parameters,but that’s just me being lazy - it’s not that much work doing it by hand as well.
And for everything else there is always SNMP which is fairly well supported and there are tons of templates nowadays.
Tbh, I had Prometheus/Grafana before and found it to be much more complicated, especially when you need active and passive nodes. The fact that Zabbix is “All in one” is fairly nice sometimes.
Dashboards are a bit lacking behind Grafana at times,but I can live with that.
I run mine on a separate server in containers (using Podman). For architecture, the server just connects directly to each agent, using my VPN network