Zabbix - Monitoring and Alerting with

Sdílet
Vložit
  • čas přidán 12. 06. 2024
  • Zabbix is a great and Awesome Open Source Monitoring and Alerting Software. This is why Brian from ‪@AwesomeOpenSource‬ and I decided to make two episodes together. In this Episode We will configure Zabbix to Scan our network, dynamically add hosts for monitoring and alerting.
    The first part can be found here: • Zabbix - Open Source, ...
    All commands that are used in the video as well as the Ansible playbook to roll out the Zabbix Agent can be found on my Github Repository: github.com/onemarcfifty/zabbi...
    00:00 Intro
    01:07 Why and how I use Zabbix
    03:05 Installation
    03:36 How to add hosts
    07:00 configuring the hosts
    09:21 Installing the agents
    12:34 Configuring Alerting
    15:48 some real life scenarios
    CZcams: / onemarcfifty
    Twitter: / onemarcfifty
    Discord: / discord
    Github: github.com/onemarcfifty
    Patreon: / onemarcfifty
    Blog: www.onemarcfifty.com
  • Věda a technologie

Komentáře • 144

  • @OneMarcFifty
    @OneMarcFifty  Před rokem +6

    Please make sure that you also watch the first part on the Awesome Open Source Channel: czcams.com/video/ec2G1PeLS5k/video.html

  • @kitisakt
    @kitisakt Před 3 dny

    "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!"

  • @AwesomeOpenSource
    @AwesomeOpenSource Před rokem +3

    Awesome work! Love this Awesome Open Source software, and such a great presentation!

  • @shashankvvst
    @shashankvvst Před 11 měsíci +1

    One of the best Zabbix tutorials I have seen. Thank you!

  • @remkm1715
    @remkm1715 Před 4 měsíci +2

    Zabbix 6.4 apparently introduced major menu shuffle. Configuration> Discovery is now: Data Collection > Discovery . Discover Actions is found under Alerts>Actions

  • @gasparem16
    @gasparem16 Před rokem +9

    As always, precise and "down to business" videos. Thanks a lot for the effort and quality!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hey, glad you liked it - thanks for watching ;-)

  • @JavierPerez-fq2fi
    @JavierPerez-fq2fi Před rokem +2

    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.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hello Javier. Thank you so much for your friendly feedback ;-)

  • @unknown_channel_name
    @unknown_channel_name Před rokem +5

    Zabbix looks like something worth trying because always monitoring every aspect of your homelab gets very tedious and hard. Awesome tutorial Marc !

  • @Vithew
    @Vithew Před 4 měsíci

    I've went through thousands of zabbix tutorials but this is the best!! Thanks & Kudos to your excellent and intellectual effort!

  • @kene8285
    @kene8285 Před 11 měsíci

    Very helpful presentation. Thanks for the very professional introduction into Zabbix.

  • @fastmover45
    @fastmover45 Před rokem +1

    Have been useing Zabbix for network monitoring for a few years now. it allows me to keep an eye on my ISP as well !. Fantastic video keep it up Marc

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Many thanks for your friendly feedback ;-)

  • @fuzsin
    @fuzsin Před rokem +2

    Great job, thank you very much! Very detailed and clearly explained. Despite the new menu structure in 6.4, everything can be found quickly.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Viacheslav, many thanks - glad you liked it ;-)

  • @FindersServices
    @FindersServices Před 11 měsíci

    Awesome tutorial Teacher Marc ! Thanks a lot for the effort.

  • @chochix
    @chochix Před rokem +1

    You have a new fan and subscriber. Thanks for share your knowledge and keep the community grow with your lessons. Greetings from Valencia, Spain.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hey, thank you very much for your comment and for subscribing ;-)

  • @Mike28081991
    @Mike28081991 Před rokem +1

    Thanks for the video(s)! I was looking forward to this video since i first heard from the teaser. There is no other video comparable to yours.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Oh that’s very kind of you - thank you very much ;-)

  • @jitendramathur3720
    @jitendramathur3720 Před 2 měsíci

    Nicely explained,Thanks dear

  • @adooken1019
    @adooken1019 Před rokem +1

    Amazing! Yes more please!! On how to add devices from different subnets. Zabbix Proxy. And whatever else we don't know!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Great points, many thanks for the feedback.

  • @nahuelcantero8158
    @nahuelcantero8158 Před 5 měsíci

    This video is Beautifuly explained thanks a lot!

  • @BeOCeKa
    @BeOCeKa Před 11 měsíci

    Also das ist jetzt mal ein richtig gutes Video!!
    Ich hätte nicht dagegen, noch mehr von Zabbix zu sehen.

  • @arghyl
    @arghyl Před rokem +1

    This is such a great collaboration. I'm giving this a try in the lab!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Rodrigo, that's awesome - let us know how it goes. I am sure you'll like it ;-)

  • @rhb.digital
    @rhb.digital Před rokem

    this is awesome. thnx.. Just started with Zabbix

  • @ksrarc
    @ksrarc Před rokem +3

    Thank you for sharing knowledge! I have no idea about Zabbix

  • @azatkhan4714
    @azatkhan4714 Před 4 měsíci

    Thank you for your efforts!

  • @erickwdaniel739
    @erickwdaniel739 Před 3 měsíci

    This is wonderful and helpful,awesome job

  • @ccJoeMurphy
    @ccJoeMurphy Před 10 měsíci

    really enjoyed your overview of X.509 be great to see you dive deeper into creating certs for code signing similarly to what HSM folks do

  • @ryanberroa8135
    @ryanberroa8135 Před rokem +1

    More!! Great videos can't wait to see Ansible!

  • @cokegen
    @cokegen Před rokem +4

    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 !

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      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)

    • @cokegen
      @cokegen Před rokem +1

      @@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.

    • @gt-simdriver6716
      @gt-simdriver6716 Před rokem

      after gettinng beat down for 10 hours I am thinking the same thing. Its running npow and I am going to attempt this but man it is not user friendly.

  • @gt-simdriver6716
    @gt-simdriver6716 Před rokem +2

    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.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi, many thanks for the feedback. Yes I do agree - there is so much more. It's huge, it's powerful. Still - I love it ;-) Glad you got it working!

  • @welliolima8392
    @welliolima8392 Před rokem +1

    Muito obrigado por compartilhar conhecimento.
    Suas observações são excelentes!!!!!

  • @65jerzy
    @65jerzy Před rokem +1

    Hell yeah man good work

  • @mpsam8947
    @mpsam8947 Před rokem +1

    Installed, everything works, thanks!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Awesome. I am happy that it worked for you.

  • @AMian-yf2hn
    @AMian-yf2hn Před rokem +1

    Really good complement to Awesome Opensource one ! Nice tips...

  • @charlykjoseph
    @charlykjoseph Před rokem +1

    Great video , waiting for next one

  • @nalle475
    @nalle475 Před rokem +1

    Thanks now I got it! Now just to find the time to rework my monitoring. This will make the same as 5-6 app’s running today.

  • @arenetasatrec4939
    @arenetasatrec4939 Před rokem

    Tnx. It's lonely to see those different approaches and techniques used. Tips always welcome.

  • @jafrujafru
    @jafrujafru Před rokem +1

    Very useful & Thanks for the link to LXC template

  • @neeshaantmdk7184
    @neeshaantmdk7184 Před rokem +1

    Tysm, did everything as described

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, many thanks for the feedback - did everything work as expected?

  • @raffaeleschiavello3853
    @raffaeleschiavello3853 Před rokem +1

    Thank you for this! Super cool video! A+++

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Salve Raffaele, many thanks for your friendly feedback.

  • @diegolagosmorales2536
    @diegolagosmorales2536 Před 9 měsíci

    Great video, thx so much

  • @annageorgies1430
    @annageorgies1430 Před rokem +1

    Thank you so much bro. Sending virtual hugs. Worked like a charm ;-)

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Anna, thank you so much for your friendly feedback. Much appreciated ;-)

  • @miriamramstudio3982
    @miriamramstudio3982 Před rokem +1

    Great video. Thanks

  • @hezish12345
    @hezish12345 Před rokem +1

    Thanks! very useful.

  • @briancoverstone4042
    @briancoverstone4042 Před rokem +1

    This is great! I've been looking for a replacement for Nagios for years. I also need inventory. Zabbix might be it! Thank you, I will check this out.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Brian - thanks for the feedback. I had been using Nagios/Nems as well and I am so delighted with Zabbix now ;-)

  • @JanVaskoSG
    @JanVaskoSG Před rokem +1

    It worked. Thanks a lot

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Jan, glad to hear that - thank you very much.

  • @ctyl5686
    @ctyl5686 Před rokem +1

    Good video - thank you.

  • @BrandonJohnson-yk7tb
    @BrandonJohnson-yk7tb Před rokem +1

    Please definitely do follow-ups with this one

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Brandon, I'll discuss it with Brian ;-)

  • @danielyoutube8960
    @danielyoutube8960 Před rokem +2

    Thanks, very interesting!

  • @annageorgies1430
    @annageorgies1430 Před rokem +1

    GENIUS

  • @tonebaxter
    @tonebaxter Před rokem +1

    I just installed nagios and was thinking about giving zabbix a try… Thanks for the video & channel recommendation…

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi, I’ve used nagios in the past and liked it, but configuring it is quite a challenge ;-) these days I really prefer Zabbix ;-)

    • @tonebaxter
      @tonebaxter Před rokem +1

      @@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

  • @mushfigmustafazade8880
    @mushfigmustafazade8880 Před rokem +1

    Very fluent and a great video. We would be happy if it was wider and more detailed

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      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.

    • @mushfigmustafazade8880
      @mushfigmustafazade8880 Před rokem +1

      ​@@OneMarcFifty We respect your choice ).

  • @tusharmishra5812
    @tusharmishra5812 Před 10 měsíci

    I like this , also I want to learn detailed operation and configuration for this product..

  • @robertlevasseur8896
    @robertlevasseur8896 Před rokem +1

    Awesome program

  • @DilnuwanAmaraweera
    @DilnuwanAmaraweera Před rokem +2

    Thank you so much

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      You are welcome - many thanks for watching.

  • @sss-bbb
    @sss-bbb Před 4 měsíci

    Perfect

  • @ciybe
    @ciybe Před rokem +1

    Great work ❤ didn't know zabbix but it seems to perfectly fit for my small business setup

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Glad you like it! Many thanks for the feedback

  • @savassalvador3404
    @savassalvador3404 Před 7 měsíci

    Thank you teşekkürler

  • @0ChAnTi
    @0ChAnTi Před rokem +1

    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?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      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

  • @whatizzydoin
    @whatizzydoin Před rokem +1

    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.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      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.

  • @selfmades4494
    @selfmades4494 Před rokem +1

    works gj

  • @jetskisnowboardski
    @jetskisnowboardski Před rokem +1

    Zabbix has a pretty high learnibg curve. You made it look easy. Is there never any tweaking to the agents needed?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      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.

  • @gajeelsomugba3785
    @gajeelsomugba3785 Před rokem +1

    ur a fcking legend dude honestly

  • @tomstechnews
    @tomstechnews Před rokem +3

    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?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      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 ;-)

  • @wallieshere
    @wallieshere Před rokem +2

    I found my home network increasing as well and thought I'd give Zabbix a try.. thanks for the tutorial. Any chance of covering SNMP one day?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Yeah, why not - might do that. Let's see how the video and feedback go and what people are interested in ;-)

    • @hakovatube
      @hakovatube Před rokem

      +1 for SNMP

  • @gabrifol
    @gabrifol Před rokem +1

    Great video, but I still prefer cacti with weathermap and mactrack plugin. Do you use them?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      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...)

    • @gabrifol
      @gabrifol Před rokem +1

      @@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

  • @twincitiespcmd
    @twincitiespcmd Před rokem +1

    Exciting! Can a Zabix Docker container, as installed by Brian on the Awesome Open Source Channel you link to, be installed in a Proxmox VM?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Matt, yes it can. But if you do Proxmox then you might as well just install the software directly into an LXC container.

    • @twincitiespcmd
      @twincitiespcmd Před rokem +1

      @@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.

  • @asif530
    @asif530 Před rokem +2

    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?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +3

      GPL License, 100% free ;-) www.zabbix.com/true_open_source

    • @asif530
      @asif530 Před rokem +2

      @@OneMarcFifty perfect many thanks. All the best

  • @Flackon
    @Flackon Před 4 měsíci

    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...

  • @muhammadnaumaniftikhar3930
    @muhammadnaumaniftikhar3930 Před 11 měsíci

    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.

  • @sarundayo
    @sarundayo Před 11 měsíci

    Can Zabbix also monitor internet traffic for disconnections?

  • @gibson7654
    @gibson7654 Před rokem

    Can you advise how to deal with flapping alerts?

  • @user-ks8sx3bd6x
    @user-ks8sx3bd6x Před 3 měsíci

    How do I set a alert in which whenever my mongodb service goes down, I get alert in a channel in Micorsoft teams?

  • @allanj
    @allanj Před rokem +1

    How does Zabbix compare to Checkmk - which I have kind of understood is the industry standard? When would I want to use Checkmk instead of Zabbix?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      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 ;-)

    • @allanj
      @allanj Před rokem +1

      @@OneMarcFifty Yeah Nagios I've also heard about. Maybe someone reading this can fill us in about Chechmk :) But yeah, maybe I'll give Zabbix s try!

  • @pmrm100
    @pmrm100 Před rokem +1

    how to create a template for a new device for Zabbix5 to pull data using SNMP ?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      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.

  • @aziskhancil2280
    @aziskhancil2280 Před rokem +1

    Please How to zabbix monitoring log oracle database or mysql database ?
    Thanks you

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      There are templates and agents available www.zabbix.com/integrations/oracle www.zabbix.com/integrations/mysql

  • @rohanghosh9700
    @rohanghosh9700 Před rokem +1

    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??

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      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.

  • @evgeniynova2341
    @evgeniynova2341 Před rokem +1

    Спасибо за обзор, это очень интересно. Ели это возможно сделайте обзор на netdata, хотелось бы сравнить функционал и возможности

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Evgeniy, many thanks. I haven't thought of netdata - many thanks for the hint.

  • @atomcreativeagency
    @atomcreativeagency Před rokem +1

    Mlk, se pá que o canal foi hackeado

  • @yinshao8809
    @yinshao8809 Před rokem +1

    For a person whose English is not very good, I suggest you attach the link to the lecture notes with @AwesomeOpenSource.
    Thanks a million.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, you can find the whole transcript of my most recent video on my blog site www.onemarcfifty.com

  • @ediahmadfauziserbhaneka9946

    It worked. Thanks a lot

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, I am glad to hear that - many thanks for the feedback!