How to network monitor using Raspberry PI | Zabbix | NETVN

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Want to monitor your network or remote devices? Here's how to turn your Raspberry Pi into a network monitoring tool using Zabbix.
    Raspberry Pi 3 amzn.to/3lvG6jW
    Raspberry Pi 4 amzn.to/3HSDLao
    SD Card SanDisk 64GB amzn.to/3jNpJ1M
    Power Supply amzn.to/3xgGtS1
    Subscribe now because it's free / netvn82
    #netvn #zabbix

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

  • @jyvben1520
    @jyvben1520 4 года назад +53

    a zabbix install video, should have been in the title

    • @djamonstaal8758
      @djamonstaal8758 4 года назад +2

      "a pour zabbix install video" Just copy paste "create user zabbix@localhost identified by 'password';" Riiighhhhtttt, keep good security always in mind. Even if you create a 'localhost' user.

    • @doublesnake18
      @doublesnake18 4 года назад

      @@djamonstaal8758 It's just for simple monitoring ... if you need security , you will go with a better choice than that :)

    • @djamonstaal8758
      @djamonstaal8758 4 года назад +1

      @@doublesnake18 No If you want security you change the default passwords to start with. And it's not "if you want it" you SHOULD secure your environments, this video is a bad example for beginners.

    • @batica81
      @batica81 4 года назад

      never heard of zabbix before so it has some value :)

    • @doublesnake18
      @doublesnake18 4 года назад

      @@djamonstaal8758 But why we should? :p

  • @ugbedeamodu9936
    @ugbedeamodu9936 3 года назад +1

    我强烈推荐 pi_hacker112 在 Instagram 上的合法作品..

  • @General_T
    @General_T 4 года назад +6

    Well a good tutorial if you haven't anything else installed on your Pi yet.
    I had an aboundance of troubles. Because I already had stuff installed on my Pi:
    First at step "Create initial database" I got the error
    "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld. sock'"
    -> Which I had to work around with "apt install mariadb-server"
    Second: I use Pi hole aswell on my Pi. - That uses the same Port (80) as lighttp which comes with the Pi Hole.
    -> so i had to change the Port for lighttp in the lighttp config otherwise apache2 wouldnt start its service.
    After that i had to delete the old MySQL Database "zabbix" and old user "zabbix@localhost"
    with
    "drop database zabbix;"
    "drop user zabbix@localhost;"
    and recreate them as show in the tutorial.
    Otherwise the FrontendSetup couldn't establish a connection to the Database.
    Lot of traps and stuff that can go wrong if you don't use a clean Raspberry Pi.

    • @ChrisGrantForReal
      @ChrisGrantForReal 3 года назад +1

      Thanks for putting this comment here. I was about to launch into installing Zabbix on the RasPi I use for pihole as well. Much apprecaited!

  • @sixdroid
    @sixdroid 4 года назад +20

    first Uninstall windows and install Linux lol

  • @TheHellis
    @TheHellis 4 года назад +21

    Thar IP scanner thing software is not needed. And just a few seconds later the video literally shows how useless the software is when he shows the same IP in the router.
    Why on earth would you install a shady software when you still have to go to the router to both find the same thing but also do IP reservation.

    • @ryanlopez5851
      @ryanlopez5851 4 года назад +1

      Will be useful if for devices without gui or you don't know the ip address in order to access the gui

    • @lukash8197
      @lukash8197 4 года назад +1

      Same with putty. Recent win10 has built-in ssh client docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_overview

    • @KugelBlitz
      @KugelBlitz 4 года назад

      @@lukash8197 yea but connecting to AWS instances using putty is the most convenient thing ever

    • @TheHellis
      @TheHellis 4 года назад

      @@ryanlopez5851 you mean a router without GUI?
      I have never heard of such a thing.
      And if there was such a router, how would the next step be possible, the reservation of the IP?
      I don't believe it. All routers have a GUI that you log in to in order to get the IPs of connected devices and mac addresses (as the shady software did not list anyways, but was still needed for the reservation).
      Prove me wrong if you want

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      @@TheHellis cisco routers doesn't have a gui only cli, in olden time gui is not a thing

  • @andreavitolo75
    @andreavitolo75 3 года назад +1

    When I type "mysql -uroot -p" it asks me for the password. What is the password to enter?

  • @358sayu
    @358sayu 3 года назад

    Piネットワークの紹介コードです➡ syupai

  • @mgb2012mg
    @mgb2012mg 4 года назад +4

    Man do you want to show people to do it or just show how fast your skills are ?

  • @scottduede8134
    @scottduede8134 4 года назад +8

    This is really handy. Addendum: @2:30 if you're on a Linux machine, instead of PuTTY, ssh will do the job, too.

    • @djricky98
      @djricky98 4 года назад +4

      Now also Windows 10 has built-in ssh, scp and sftp client in cmd

    • @jyvben1520
      @jyvben1520 4 года назад +1

      and putty also works on ubuntu/debian/raspbian

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

    Locale for language "en_US" is not found on the web server

  • @anispinner
    @anispinner 4 года назад +5

    6 non-skipable ads within a 10 min video? Dude you should chill

  • @droningforever
    @droningforever 4 года назад +5

    The zcat with the creation of the schema takes forever for me, I cancelled and started over a couple times thinking it was stuck... am I doing something wrong?

    • @droningforever
      @droningforever 4 года назад +1

      And it indeed takes a lot of time on my I do believe 2016 Pi, but it completed with patience.

    • @kevinshumaker3753
      @kevinshumaker3753 4 года назад

      Took 2 hours on a PiZeroWH.

  • @jamesmulloy6374
    @jamesmulloy6374 3 года назад

    Getting error here "zcat /usr/share/doc/zabbix-sql-scripts/mysql/create.sql.gz | mysql -uzabbix -p zabbix" does anyone have a more simple tutorial?

  • @NorWho
    @NorWho 4 года назад +11

    очень интересно, но нихера не понятно )))

  • @ceekay1676
    @ceekay1676 3 года назад +1

    what was the purpose of the inbound-outbound rules on the firewall?

    • @lebon8963
      @lebon8963 3 года назад

      It is to allow or block a particular or a group of applications on your devices from accessing the internet. This is very important especially if you download an application like Photoshop illegally and you don't want to access the internet or a particular IP address.

  • @fgabriel.oliver
    @fgabriel.oliver 3 года назад +1

    hello, great ! thanks a lot! i have a doubt: what is this raspiberry model? can i use any model pi?

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

      Did you know which model can we use?

  • @denisinaga5149
    @denisinaga5149 3 года назад

    how to fix a raspberry pi 3 b that is in sleep mode?
    IP connection to the WiFi network is running but entered in the VNC viewer there is a notification "time out waiting for a response form the computer"

  • @AniruddhD
    @AniruddhD 4 года назад +4

    It's "how to monitor network" not "how to network monitor".

    • @enesaslan3275
      @enesaslan3275 4 года назад +1

      You are best of the youtube world! You are a linguist! You are god of letters! Thanks for fucking feedback.

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      Coming from a guy with indian name

  • @TheXavgd
    @TheXavgd 4 года назад +1

    Hello, very interesting but somethings goes wrong in my config following your tuto . When I'm launching this command (# zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix ), I put my password (Password to be simple), and no reaction.. I can't find back the prompt. and at least when I'm installing Zabbix, I have a message "Cannot connect to the database.The frontend does not match Zabbix database." Thanks for your help ;-)

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      Drop the database and start over that part, you may also reset the db password

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

    Please make video on nagios server..

  • @techtalkandtechunboxed
    @techtalkandtechunboxed 4 года назад +1

    when using this step Create initial database I get error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld. sock' any help?

  • @sugarskulllyfe5890
    @sugarskulllyfe5890 3 года назад

    i can smell church or a wedding with the background music lol

  • @darrenoleary5952
    @darrenoleary5952 4 года назад

    What is the password when prompted at mysql -uroot -p
    No matter what i type, it doesn't accept it and i get the following error :
    ERROR 2002 (HY000) : Can't connect to the local MySQL server through socket 'var/run/mysqld/mysqld.sock' (2 "No such file or directory")

    • @kylebrown6104
      @kylebrown6104 4 года назад +1

      you have to install MySQL data server first. I was having the same issue. pimylifeup.com/raspberry-pi-mysql/

  • @MrKanistr
    @MrKanistr 4 года назад +3

    I didn't get, why Zabbix is needed? 😐

    • @xxkeralo6489
      @xxkeralo6489 4 года назад

      for the monitoring. I would do that over Pihole
      route everything through your PI
      thats easier and faster to set up

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      If you are a network or dc admin you will know the essence of zabbix, so far its one of the best and easiest open source nms out there

    • @alex.galkin
      @alex.galkin 4 года назад

      @@ryanlopez5851 "...its one of the best and easiest open source nms out there"
      Yes, because Zabbix was created by Russians!

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      @@alex.galkin it will bother me more if Chinese made it

    • @alex.galkin
      @alex.galkin 4 года назад

      @@ryanlopez5851 But why? Aren't you worried that Google, Facebook, Twitter and other companies collect information about you? Or your bothering is selective :) ?

  • @drboczek
    @drboczek 4 года назад +1

    Zabbix database needed fast ssd!!!

  • @NamTran-HK
    @NamTran-HK 4 года назад

    One question: why 32 bit and not 64 bit Raspberry? Thank you.

  • @Techbogle
    @Techbogle 4 года назад

    I tried this and could not get the sever to work due to unable to determine current zabbix database version: the table "dbversion" was not found.

  • @marcosgb2277
    @marcosgb2277 2 года назад

    root@raspberrypi:/home/master# mysql -uroot -p
    Enter password:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

  • @umeshmk6116
    @umeshmk6116 3 года назад

    Need easy and simple full network monitoring tutorial plz

  • @ps-rl5ko
    @ps-rl5ko 3 года назад

    Pi network: blacklearl888
    Bee network: prakash677

  • @BrianThomas
    @BrianThomas 3 года назад

    I'm getting an error when logging in. "Unable to select configuration." I've been looking and I can't seem to find a fix. I've insured the DBUser name was right and password, I'm able to confirm that DB is setup correctly, I'm able to login to the DB without issues MariaDB. Please help. I've spend 3 hours troubleshooting.

  • @Cyberoll
    @Cyberoll 4 года назад +3

    The Title Should be "How to monitor a network ...."

    • @christopheralvaro8706
      @christopheralvaro8706 3 года назад

      not sure if you guys cares but if you guys are bored like me during the covid times then you can stream all the new series on Instaflixxer. I've been binge watching with my brother recently :)

    • @alessandrojosue656
      @alessandrojosue656 3 года назад

      @Christopher Alvaro Yup, been watching on InstaFlixxer for years myself :D

  • @tonymendible
    @tonymendible 4 года назад

    Hi. Everithing looks write but at >localhost/zabbix shows:
    Database error
    Access denied for user 'zabbix'@'localhost' (using password: YES)
    Retry
    soooo...????.... Thanks

    • @sbasha2216
      @sbasha2216 4 года назад

      Try to disable Firewall

  • @deejayblacklight
    @deejayblacklight 4 года назад +6

    lol 32bit really? and db password for the user is password. Typical copy paste error. And u really need an IP scanner tool downloaded from the internet? just check your router for the new client...

    • @taddmaxwell8363
      @taddmaxwell8363 4 года назад +4

      Thanks Einstein

    • @kevinshumaker3753
      @kevinshumaker3753 4 года назад +1

      This is not aimed at someone with more experience. If you know those things, you aren't going to follow those suggestions. As to 'password' for a password, again, it's how to set up. Would you prefer he use P@55w0rD? or some other variant? Yes, he could have suffested creating your own, but...

  • @DucNguyenMinh
    @DucNguyenMinh 4 года назад

    phải cài đặt mysql trước à bạn?

  • @aleksbotler5358
    @aleksbotler5358 4 года назад

    А не лучше было бы установить Zabbix агента на windows и контролировать через него, а не через SNMP?

  • @alexstalkermd
    @alexstalkermd 4 года назад

    Лучше покажите как контролировать raspberry pi удалённо через смартфон

  • @KevinPawsey
    @KevinPawsey 4 года назад +3

    great tutorial, thank you for taking the time to do this... it is exactly what I have been looking for... time to put that Raspberry 3B into use now!! :D

  • @doublesnake18
    @doublesnake18 4 года назад

    Btw, monitoring a PC is hard as this ? how about a phone ? ( Android system maybe )

  • @cfpwastaken
    @cfpwastaken 4 года назад +6

    Video starts at 3:03

  • @sat_talk
    @sat_talk 4 года назад

    which Raspberry PI version? latest one 4 or older will do

  • @mikec00566
    @mikec00566 4 года назад +1

    when i use # mysql -uroot -p what should the password be

  • @DucNguyenMinh
    @DucNguyenMinh 4 года назад

    bash: mysql: command not found

  • @ВалерийСагалаков-и3с

    Зачем в домашней сети zabbix мониторинг?

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

    the piano goes hard at the end

  • @VineRjRjfr12
    @VineRjRjfr12 4 года назад +1

    loved it

  • @Iankmuin
    @Iankmuin 4 года назад

    Bingung ga ada translate

  • @noname-dl4qu
    @noname-dl4qu 4 года назад +1

    pls spek next time your self, or write the text
    but nice Vid.

  • @Lafiro
    @Lafiro 4 года назад

    I'm trying this on a Vmware instance and I get up to the step of running apt-get update/upgrade and get messages that amd64 and i386 are not supported. Then when I try and run step B for SQL, it tells me zabbix-apache-conf is not found. Anyone know what might be the problem or how to get around this?

  • @sliceoflife555
    @sliceoflife555 4 года назад

    Can Raspberry Pi replace Mikrotik Networking device ?

  • @nachiketbarve7312
    @nachiketbarve7312 4 года назад

    how to monitor mac system?

  • @gtotv996
    @gtotv996 4 года назад

    Ditunggu bahas raspberry pi lainnya.

  • @PeterSteinecker
    @PeterSteinecker 4 года назад

    Please can anyone help with this issue: root@raspberrypi:/home/pi# mysql -uroot -p
    Enter password:
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")

    • @ketilkn
      @ketilkn 4 года назад

      Mysql server is not running, or not using sockets.

    • @CrisanBogdan
      @CrisanBogdan 4 года назад

      I would check to see if the service is running "sudo service mysql status" should return "mysql is stopped/running"
      also make sure that mysql was properly installed

    • @martindalpe.photography
      @martindalpe.photography 4 года назад +1

      what I found is Mysql server is not install in this process ( mariadb ), I had to manually install MariaDB Server

    • @PeterSteinecker
      @PeterSteinecker 4 года назад

      @@martindalpe.photography Thanks a lot!

  • @cynerboy1650
    @cynerboy1650 4 года назад

    Finally what is show me? Urls? Data volume transfer?

  • @Riclamer
    @Riclamer 4 года назад

    Good how to. Can use this backend to monitor the quality of internet ? Maybe can be a new how to. Tks

  • @ryzen7109
    @ryzen7109 4 года назад

    Nice music

  • @miguelmira1185
    @miguelmira1185 4 года назад

    Sir i have a questions,what is best hacking devices for you raspberry pi 3 model B+ or raspberry pi 4 model B or any raspberry pi,what is the best for you??

    • @kevinshumaker3753
      @kevinshumaker3753 4 года назад +1

      Any Pi running Kali-Linux is a good start for learning.

  • @PhonetoysTv
    @PhonetoysTv 4 года назад

    hi can you teach us how to make wifi sharing with pi but using coin activated timer for wifi sharing. thanks

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      There are plenty of wifi vendo software in Philippines not sure though if there are English tutorial, you may want to search wifi ng bayan the cheapest license to buy.. btw you can also use the voucher option if you don't have coinslot

  • @mazen6773
    @mazen6773 4 года назад

    Is it safe

  • @vladeha
    @vladeha 3 года назад

    very good explanation! thank you!

  • @norvigal
    @norvigal 4 года назад

    Tanks good tutorial.

  • @davidmata3104
    @davidmata3104 4 года назад

    Awesome!

  • @mohikhwansyafiqi2835
    @mohikhwansyafiqi2835 4 года назад +1

    Hello sir, i want to know about the advantage of this tutorial

  • @my_vinyl_record8501
    @my_vinyl_record8501 4 года назад

    Good Job !!!

  • @toddzilla
    @toddzilla 4 года назад +1

    Be wary, I've had Zabbix kill the SD card in a raspberry pi. It's very I/O intensive. I run Zabbix on a NUC with a USB hard drive. You could also use a USB drive on your pi, and store the database files there.

  • @klauskoenig4254
    @klauskoenig4254 4 года назад

    Warum deutscher Titel und dann eng. Sprache ? Dafür Daumen runter

    • @UnbelievableCH
      @UnbelievableCH 4 года назад +1

      RUclips übersetzt manche Titel automatisch

    • @thierrybo6304
      @thierrybo6304 4 года назад

      I get a french title, i Wonder how they do that.

  • @magmango5000
    @magmango5000 4 года назад +4

    I like this tutorial.

  • @polarfamily6222
    @polarfamily6222 4 года назад

    Yellow cable = crossover or regular? Standards aren't really fixed on that nowadays so clarification would be helpful 👍

    • @NETVN82
      @NETVN82  4 года назад

      both crossover or regular is ok

    • @polarfamily6222
      @polarfamily6222 4 года назад

      @@NETVN82 thanks, but you may want to mention that in the video too 👍

    • @mrwumpass
      @mrwumpass 4 года назад

      It should be noted that most modern NICs autodetect so cross over cables are almost never a thing any more.

    • @highkicker11
      @highkicker11 4 года назад

      Now days cross over is done by the nic the cables are now all the same i wonder if in the future it would not even matter what connection pin out you use on either sides. I mean they had a logical way of doing things but was less user/untrained friendly, but now that has gone out of the window. Its all about user friendlyness vs stability as it should be.

  • @Sivim
    @Sivim 4 года назад

    Subscribed

  • @robertcharpantier6606
    @robertcharpantier6606 4 года назад

    Congrat👏👏👏👏

  • @K8LOYT
    @K8LOYT 4 года назад

    Brilliant Video thanks Man !!!

  • @ridersaitou
    @ridersaitou 4 года назад

    Hi Net VN, I really love your video tutorial to utilized raspberry as network element to monitor or to do some other function rather than act as mini pc only. Btw is there a way to enable raspberry as vpn tunnel, in some region, our wifi are blocked to access several sites due to regulacy. Sometimes we access the sites using pc via vpn, but sometimes we want to use android tv to access it like accessing netflix. Can we configure vpn in raspi and act as wifi router then we connect tv to raspi ssid?

    • @ArvindGaba
      @ArvindGaba 4 года назад

      Yes, you can if your router support VPN. If it doesn't then you need to install the VPN client to your Mobile or TV and connect that. If that is also not possible then create a pfsense raspberry pi and install a VPN on it.

    • @trongvuhoang5215
      @trongvuhoang5215 4 года назад

      I think you can try googling with key "turn raspberry pi into vpn router"

    • @aleksk1584
      @aleksk1584 4 года назад

      I installed PiVPN on mine to allow for VPN access into my home network remotely. A good tutorial can be found here: chasingtech.net/wp/2017/01/03/pivpn-create-your-own-vpn-for-your-home-network/
      I also run Pi-hole on the same Raspbery Pi3. I followed this article: marcstan.net/blog/2017/06/25/PiVPN-and-Pi-hole/

  • @larrylarry1368
    @larrylarry1368 4 года назад

    Is it okay to use pi 3b+ ?

  • @monirulridoy4605
    @monirulridoy4605 4 года назад

    Hey I have a laptop. I was reset my laptop but I couldn't install it. What can I do

  • @fallofmanbrand
    @fallofmanbrand 4 года назад

    Loved It!

  • @yousmile1984
    @yousmile1984 4 года назад

    Thanks tutorial

  • @erckills
    @erckills 4 года назад

    Cool. thank you so much.

  • @sajjadhoviegar5950
    @sajjadhoviegar5950 4 года назад +1

    Nice tutorial. Do you know how to limit the speed of other devices connected to raspberry pi hotspot?

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      If you are pertaining to zabbix, no this will not limit the connection this is basically an nms and its duty is to monitor server and network devices

  • @djsanse2011
    @djsanse2011 4 года назад +1

    Good evening my friend you can show us how we can use one hotspot open wrt

  • @joeharyar9873
    @joeharyar9873 4 года назад

    Hi sir..great tutorial..thanks... may i know what is the advatages of having zabbx over rasberypi and zabbx installed in the computer? Thank you.

  • @ReneSkotte
    @ReneSkotte 4 года назад

    I completely disagree with the basic network setup. Main PCs, servers, NAS devices should be given a fixed IP address inside their own settings. Router reservation of IP addresses in DHCP pool area is for people not understanding networks.

    • @montecarlo7958
      @montecarlo7958 2 года назад

      thats not true at all DHCP is widely used and should be understood by anyone in networking.

  • @greglives708
    @greglives708 4 года назад

    TOO MUCH WORK- get raspberry people to do ALL THIS automatically-- what a lame program. WTF IS GOING TO DO ALL THIS?

    • @TF12191
      @TF12191 4 года назад +1

      People who are interested

    • @craigsanders5875
      @craigsanders5875 4 года назад +1

      Lol...obviously not you

  • @leonaldeufrasiojunior
    @leonaldeufrasiojunior 4 года назад

    is it possible to detect network usage by devices using RPI?

    • @ryanlopez5851
      @ryanlopez5851 4 года назад

      As long as snmp is supported by your device it will if not you can still monitor the uptime via icmp ping

  • @tuanbui7962
    @tuanbui7962 4 года назад

    What's spec for that Raspberry PI? or any 2GB, 4GB, 8GB will do it?

    • @NETVN82
      @NETVN82  4 года назад

      I use 2GB

    • @tuanbui7962
      @tuanbui7962 4 года назад

      Thank you

    • @highkicker11
      @highkicker11 4 года назад +2

      Heck 512 mb would be enough if you want this is afterall only monitoring its not a firewall or anything heavy.