Please make sure that you also watch the first part on the Awesome Open Source Channel: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ec2G1PeLS5k.html
Zabbix 6.4 apparently introduced major menu shuffle. Configuration> Discovery is now: Data Collection > Discovery . Discover Actions is found under Alerts>Actions
Awesome content! Thanks from Switzerland! I'm running a quite similar home lab infra and I am looking for a good opensource monitoring solution like zabbix. Using "Uptime Kuma" just satisfies many of my demands. I want to monitor my 20 docker containers in a detailed manner like vm's. One of the reasons not to use Zabbix is the requirement of agents on the destination hosts and the complexity of the solution. Do you have a hint for me?
Grüezi Thomas ;-) You could approach it in two ways. Either you add the docker template to the Docker Server that you are monitoring. That will give you information whether the containers are running or not etc. plus you could add additional metrics to the template. If you wanted to have the agent _inside_ the docker containers, then I would add the agent installation to the Dockerfile directly really. If you are using the Docker bridge network however, then all of your containers would have the same IP really - you could circumvent this problem by using the active agents. Last remaining challenge would be how to start the agents (as you have no init process inside the containers) - you would need to add a start command to your docker entry point or use something like tini inside the container. Hope that helps ;-)
The hardest part in SNMP monitoring is always getting hold of the MIB's in order to understand what the values mean. I'd say start with a similar device and then adapt the template based on the MIB.
How can I set monitoring and alerting system in openwrt?? How can I track the ip and mac of device which try to attack me?? How can I reverse ddos attack which device try to ddos me??
Hi Rohan, it looks like what you are after is not so much a monitoring system, but rather Intrusion detection (IDS) and Intrusion Prevention (IPS). If you wanted to use Zabbix for that then you would first need to define the metrics that would desribe an attack before you could measure them. A DDOS attack however should be handled by the ISP.
I've used Zabbix in all my jobs and I just love it, even though is a bit of a pain to configure and it always takes me some time to "get there" whenever I need to monitor anything new. Also, agreed on checking the documentation, the thing is truly very very powerful. An important thing to watch (I've been bitten by this) is to properly configure the "Housekeeping" parameters (it's basically the process that eliminates old data) so the database doesn't grow out of control, I've had to go and manually clear trends and such with the service stopped in order to get the server back to life. Pay attention to the active vs passive modes of operation, as that is key when designing the monitoring with this. Something interesting probably to do a video on would be how to backup the server configuration and/or to migrate config between zabbix versions, as that's a very common thing that, at least, happened to me and never got to solve (lack of time, mainly). Thanks for the video, your channel is awesome !
Great feedback, many thanks for sharing! I remember I had to do stuff in the database once - having a good backup does help (which was quite easy to do with a Proxmox container)
@@OneMarcFifty yeah, saving the full database is doable, but I always was left with a feeling that I didn't knew if jumping versions (upgrades) would have been doable or not, even having a quick way of restoring just the configs, not the trends or any other collected data. Maybe there's something new or maybe that I've missed to accomplish that. I know I don't want to lose my Zabbix configs after spending weeks (if not months) getting the thing working as I needed.
10 hours of pain and I finally got it working. Docker was a major pain and I just installed it on a VM by itself. It still took forever on ubuntu and there were major documentation errors by zabbix. I can say now after setting all of this up, Zabbix has a STEEEEP learning curve WAAAAAY beyond what you said here. Like SNMP monitoring, or HTTP auth monitoring. This is just scratching the surface.
Hi Allan, honestly - I can't tell you because I've never used Check_mk. I had used Nagios in the past and it was a nightmare to configure. Stopped using it and figured out that I do need something else. I tried Zabbix and liked it ;-)
Hi, this is always a trade-off between time and depth. I could make the video three hours long for sure or make 10 episodes :-) No, seriously - I understand your request, but I try to stick to 10-30 minutes roughly in the videos.
Hi, absolutely not - I have never heard of those. But I have just googled for it and - they do look awesome. Many thanks for the hint - I definitely need to read up on those! Where they easy to install ? (Zabbix can be a challenge to configure...)
@@OneMarcFifty It's an opensource project in production for years, followed by many developers (GitHub) but if zabbix is difficult to configure, cacti is even worse, but once it's done you don't need to do anything else (just a backup of the virtual machine). There are many videos on youtube on how to install cacti, but I recommend you to install the latest version available (security issue) on ubuntu (server or desktop). Anyway, the coolest and most useful things are the plugins: weathermap for single port bandwidth monitoring of switches/firewalls/routers and mactrack for monitoring and notifications of new devices in the network. I'm trying to setup the "flowview" plugin to monitor the bandwidth occupied by individual IPs, but I haven't succeeded yet
Great I will look into this option as I have used Grafana for my monitoring on AWS. Just a question does Zabbix have cost for license or is it free to download?
Nice tutorial. For some reason my "add hosts" rule isn't adding any hosts. And the discovery rule only ever discovered 2 devices in the whole network. Not sure what's going on...
Hi. I m stuck in link labelling attributes in map. I dont know about macro Syntex and i didn't find anything regarding Syntex add in label. Please share some details. Link speed, host connection etc.
Bravo!! One of the best monitoring videos I ever seen. Useful, quick (taking into account information shared) and short to the point. Great job as usual, congratulations.
Hell Marc, nice video again. You motivated me to start my existing zabbix VM, again. maybe you can tell zabbix is able to use proxy instances to connect different client Networks? And is there a High Availability solution with a second server on different premise?
Hi, many thanks. High availability is documented here www.zabbix.com/documentation/current/en/manual/concepts/server/ha and there is also a proxy available: www.zabbix.com/documentation/current/en/manual/concepts/proxy
Hi Henrik, I believe it depends what target systems you have and what you want to collect. On LXC containers and on OpenWrt, there are tweaks available. To me however, monitoring basic system state was the main goal. Monitoring services will be the next one.
Brilliant, learned something new. Would be good to see how to configure alerts properly. I get notifications for a server being unresponsive by icmp but then it resolves 10 minutes later. Would be good to dive into those templates to see how to customise them.
Hi Matthew - you can actually define the triggers for alerts on the templates or you can overwrite them for single elements on single hosts. For example under the Configuration for the host you can see "Macros" - many of these define thresholds (such as {$VFS.FS.PUSED.MAX.WARN} - Warning threshold for file system usage). You can change them on that page for one given host. I also defined a template which I called "Ping only no alerts" for hosts that I just want to ping and see if they are online but removed all triggers.
@@OneMarcFifty That is what I thought. My "hardware" is really mostly made up of Proxmox VMs and containers. I don't currently have an open linux server running on bare metal.
@@OneMarcFifty yes I’ve used nagios in the past as well so the configuration was not that challenging but you’re right, it can be a beast to set up. Will definitely give zabbix a try.. Regards
"Wow, You made such a great channel! Your content is really informative and even though it's technical, you explain it in a way that's easy to understand and follow. It's been a fantastic resource for me, a curious learner, and I even share your videos with my students! Thanks for creating such valuable content!"