Zabbix - Monitoring and Alerting with

Поделиться
HTML-код
  • Опубликовано: 6 июл 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
    RUclips: / onemarcfifty
    Twitter: / onemarcfifty
    Discord: / discord
    Github: github.com/onemarcfifty
    Patreon: / onemarcfifty
    Blog: www.onemarcfifty.com
  • НаукаНаука

Комментарии • 144

  • @OneMarcFifty
    @OneMarcFifty  Год назад +6

    Please make sure that you also watch the first part on the Awesome Open Source Channel: ruclips.net/video/ec2G1PeLS5k/видео.html

  • @kitisakt
    @kitisakt 27 дней назад

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

  • @shashankvvst
    @shashankvvst 11 месяцев назад +1

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

  • @gasparem16
    @gasparem16 Год назад +9

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @AwesomeOpenSource
    @AwesomeOpenSource Год назад +3

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

  • @JavierPerez-fq2fi
    @JavierPerez-fq2fi Год назад +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  Год назад

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

  • @kene8285
    @kene8285 Год назад

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

  • @unknown_channel_name
    @unknown_channel_name Год назад +5

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

  • @FindersServices
    @FindersServices Год назад

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

  • @Mike28081991
    @Mike28081991 Год назад +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  Год назад +1

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

  • @Vithew
    @Vithew 5 месяцев назад

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

  • @remkm1715
    @remkm1715 4 месяца назад +2

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

  • @chochix
    @chochix Год назад +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  Год назад +1

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

  • @fastmover45
    @fastmover45 Год назад +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  Год назад +1

      Many thanks for your friendly feedback ;-)

  • @arghyl
    @arghyl Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @fuzsin
    @fuzsin Год назад +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  Год назад +1

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

  • @BeOCeKa
    @BeOCeKa Год назад

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

  • @ryanberroa8135
    @ryanberroa8135 Год назад +1

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

  • @adooken1019
    @adooken1019 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Great points, many thanks for the feedback.

  • @erickwdaniel739
    @erickwdaniel739 4 месяца назад

    This is wonderful and helpful,awesome job

  • @nahuelcantero8158
    @nahuelcantero8158 5 месяцев назад

    This video is Beautifuly explained thanks a lot!

  • @jitendramathur3720
    @jitendramathur3720 3 месяца назад

    Nicely explained,Thanks dear

  • @rhb.digital
    @rhb.digital Год назад

    this is awesome. thnx.. Just started with Zabbix

  • @azatkhan4714
    @azatkhan4714 4 месяца назад

    Thank you for your efforts!

  • @ksrarc
    @ksrarc Год назад +3

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

  • @ccJoeMurphy
    @ccJoeMurphy 11 месяцев назад

    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

  • @AMian-yf2hn
    @AMian-yf2hn Год назад +1

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

  • @annageorgies1430
    @annageorgies1430 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @mpsam8947
    @mpsam8947 Год назад +1

    Installed, everything works, thanks!

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Awesome. I am happy that it worked for you.

  • @charlykjoseph
    @charlykjoseph Год назад +1

    Great video , waiting for next one

  • @raffaeleschiavello3853
    @raffaeleschiavello3853 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Salve Raffaele, many thanks for your friendly feedback.

  • @arenetasatrec4939
    @arenetasatrec4939 Год назад

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

  • @cokegen
    @cokegen Год назад +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  Год назад

      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 Год назад +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 Год назад

      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.

  • @jafrujafru
    @jafrujafru Год назад +1

    Very useful & Thanks for the link to LXC template

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Hi Joaquim, many thanks for the feedback.

  • @neeshaantmdk7184
    @neeshaantmdk7184 Год назад +1

    Tysm, did everything as described

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @nalle475
    @nalle475 Год назад +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.

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Awesome - let me know how it goes ;-)

  • @gt-simdriver6716
    @gt-simdriver6716 Год назад +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  Год назад +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!

  • @diegolagosmorales2536
    @diegolagosmorales2536 10 месяцев назад

    Great video, thx so much

  • @welliolima8392
    @welliolima8392 Год назад +1

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

  • @miriamramstudio3982
    @miriamramstudio3982 Год назад +1

    Great video. Thanks

  • @hezish12345
    @hezish12345 Год назад +1

    Thanks! very useful.

  • @briancoverstone4042
    @briancoverstone4042 Год назад +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  Год назад +1

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

  • @ctyl5686
    @ctyl5686 Год назад +1

    Good video - thank you.

  • @JanVaskoSG
    @JanVaskoSG Год назад +1

    It worked. Thanks a lot

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @danielyoutube8960
    @danielyoutube8960 Год назад +2

    Thanks, very interesting!

  • @65jerzy
    @65jerzy Год назад +1

    Hell yeah man good work

  • @BrandonJohnson-yk7tb
    @BrandonJohnson-yk7tb Год назад +1

    Please definitely do follow-ups with this one

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @tusharmishra5812
    @tusharmishra5812 11 месяцев назад

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

  • @tonebaxter
    @tonebaxter Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад +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 Год назад +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 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад +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 Год назад +1

      ​@@OneMarcFifty We respect your choice ).

  • @annageorgies1430
    @annageorgies1430 Год назад +1

    GENIUS

  • @DilnuwanAmaraweera
    @DilnuwanAmaraweera Год назад +2

    Thank you so much

    • @OneMarcFifty
      @OneMarcFifty  Год назад +2

      You are welcome - many thanks for watching.

  • @ciybe
    @ciybe Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Glad you like it! Many thanks for the feedback

  • @whatizzydoin
    @whatizzydoin Год назад +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  Год назад

      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.

  • @sss-bbb
    @sss-bbb 5 месяцев назад

    Perfect

  • @savassalvador3404
    @savassalvador3404 8 месяцев назад

    Thank you teşekkürler

  • @Flackon
    @Flackon 5 месяцев назад

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

  • @tomstechnews
    @tomstechnews Год назад +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  Год назад +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 ;-)

  • @robertlevasseur8896
    @robertlevasseur8896 Год назад +1

    Awesome program

  • @0ChAnTi
    @0ChAnTi Год назад +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  Год назад

      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

  • @gibson7654
    @gibson7654 Год назад

    Can you advise how to deal with flapping alerts?

  • @sarundayo
    @sarundayo Год назад

    Can Zabbix also monitor internet traffic for disconnections?

  • @gabrifol
    @gabrifol Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      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 Год назад +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 Год назад +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  Год назад +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 Год назад +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.

  • @wallieshere
    @wallieshere Год назад +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  Год назад +1

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

    • @hakovatube
      @hakovatube Год назад

      +1 for SNMP

  • @muhammadnaumaniftikhar3930
    @muhammadnaumaniftikhar3930 Год назад

    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.

  • @asif530
    @asif530 Год назад +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  Год назад +3

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

    • @asif530
      @asif530 Год назад +2

      @@OneMarcFifty perfect many thanks. All the best

  • @jetskisnowboardski
    @jetskisnowboardski Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад +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.

  • @user-ks8sx3bd6x
    @user-ks8sx3bd6x 3 месяца назад

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

  • @selfmades4494
    @selfmades4494 Год назад +1

    works gj

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      Perfect - many thanks for your feedback.

  • @pmrm100
    @pmrm100 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

      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.

  • @gajeelsomugba3785
    @gajeelsomugba3785 Год назад +1

    ur a fcking legend dude honestly

  • @allanj
    @allanj Год назад +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  Год назад

      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 Год назад +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!

  • @aziskhancil2280
    @aziskhancil2280 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @rohanghosh9700
    @rohanghosh9700 Год назад +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  Год назад

      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 Год назад +1

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

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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

  • @atomcreativeagency
    @atomcreativeagency Год назад +1

    Mlk, se pá que o canal foi hackeado

  • @yinshao8809
    @yinshao8809 Год назад +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  Год назад

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

  • @ediahmadfauziserbhaneka9946
    @ediahmadfauziserbhaneka9946 Год назад +1

    It worked. Thanks a lot

    • @OneMarcFifty
      @OneMarcFifty  Год назад

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