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
a zabbix install video, should have been in the title
"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.
@@djamonstaal8758 It's just for simple monitoring ... if you need security , you will go with a better choice than that :)
@@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.
never heard of zabbix before so it has some value :)
@@djamonstaal8758 But why we should? :p
我强烈推荐 pi_hacker112 在 Instagram 上的合法作品..
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.
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!
first Uninstall windows and install Linux lol
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.
Will be useful if for devices without gui or you don't know the ip address in order to access the gui
Same with putty. Recent win10 has built-in ssh client docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_overview
@@lukash8197 yea but connecting to AWS instances using putty is the most convenient thing ever
@@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
@@TheHellis cisco routers doesn't have a gui only cli, in olden time gui is not a thing
When I type "mysql -uroot -p" it asks me for the password. What is the password to enter?
Piネットワークの紹介コードです➡ syupai
Man do you want to show people to do it or just show how fast your skills are ?
This is really handy. Addendum: @2:30 if you're on a Linux machine, instead of PuTTY, ssh will do the job, too.
Now also Windows 10 has built-in ssh, scp and sftp client in cmd
and putty also works on ubuntu/debian/raspbian
Locale for language "en_US" is not found on the web server
6 non-skipable ads within a 10 min video? Dude you should chill
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?
And it indeed takes a lot of time on my I do believe 2016 Pi, but it completed with patience.
Took 2 hours on a PiZeroWH.
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?
очень интересно, но нихера не понятно )))
what was the purpose of the inbound-outbound rules on the firewall?
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.
hello, great ! thanks a lot! i have a doubt: what is this raspiberry model? can i use any model pi?
Did you know which model can we use?
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"
It's "how to monitor network" not "how to network monitor".
You are best of the youtube world! You are a linguist! You are god of letters! Thanks for fucking feedback.
Coming from a guy with indian name
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 ;-)
Drop the database and start over that part, you may also reset the db password
Please make video on nagios server..
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?
same Problem here
sudo systemctl start mysqld
apt install mariadb-server
@@rizkvn THX thats it!
i can smell church or a wedding with the background music lol
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")
you have to install MySQL data server first. I was having the same issue. pimylifeup.com/raspberry-pi-mysql/
I didn't get, why Zabbix is needed? 😐
for the monitoring. I would do that over Pihole
route everything through your PI
thats easier and faster to set up
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
@@ryanlopez5851 "...its one of the best and easiest open source nms out there"
Yes, because Zabbix was created by Russians!
@@alex.galkin it will bother me more if Chinese made it
@@ryanlopez5851 But why? Aren't you worried that Google, Facebook, Twitter and other companies collect information about you? Or your bothering is selective :) ?
Zabbix database needed fast ssd!!!
One question: why 32 bit and not 64 bit Raspberry? Thank you.
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.
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)
sorry -install mysql
Need easy and simple full network monitoring tutorial plz
Pi network: blacklearl888
Bee network: prakash677
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.
The Title Should be "How to monitor a network ...."
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 :)
@Christopher Alvaro Yup, been watching on InstaFlixxer for years myself :D
Hi. Everithing looks write but at >localhost/zabbix shows:
Database error
Access denied for user 'zabbix'@'localhost' (using password: YES)
Retry
soooo...????.... Thanks
Try to disable Firewall
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...
Thanks Einstein
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...
phải cài đặt mysql trước à bạn?
А не лучше было бы установить Zabbix агента на windows и контролировать через него, а не через SNMP?
Лучше покажите как контролировать raspberry pi удалённо через смартфон
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
Btw, monitoring a PC is hard as this ? how about a phone ? ( Android system maybe )
Video starts at 3:03
which Raspberry PI version? latest one 4 or older will do
when i use # mysql -uroot -p what should the password be
bash: mysql: command not found
Зачем в домашней сети zabbix мониторинг?
the piano goes hard at the end
loved it
Bingung ga ada translate
pls spek next time your self, or write the text
but nice Vid.
Speak
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?
What distro?
Can Raspberry Pi replace Mikrotik Networking device ?
Pfsense i guessed
how to monitor mac system?
Ditunggu bahas raspberry pi lainnya.
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")
Mysql server is not running, or not using sockets.
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
what I found is Mysql server is not install in this process ( mariadb ), I had to manually install MariaDB Server
@@martindalpe.photography Thanks a lot!
Finally what is show me? Urls? Data volume transfer?
Good how to. Can use this backend to monitor the quality of internet ? Maybe can be a new how to. Tks
Nice music
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??
Any Pi running Kali-Linux is a good start for learning.
hi can you teach us how to make wifi sharing with pi but using coin activated timer for wifi sharing. thanks
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
Is it safe
very good explanation! thank you!
Tanks good tutorial.
Awesome!
Hello sir, i want to know about the advantage of this tutorial
Good Job !!!
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.
Warum deutscher Titel und dann eng. Sprache ? Dafür Daumen runter
RUclips übersetzt manche Titel automatisch
I get a french title, i Wonder how they do that.
I like this tutorial.
I like this tutorial too.
Yellow cable = crossover or regular? Standards aren't really fixed on that nowadays so clarification would be helpful 👍
both crossover or regular is ok
@@NETVN82 thanks, but you may want to mention that in the video too 👍
It should be noted that most modern NICs autodetect so cross over cables are almost never a thing any more.
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.
Subscribed
Congrat👏👏👏👏
Brilliant Video thanks Man !!!
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?
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.
I think you can try googling with key "turn raspberry pi into vpn router"
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/
Is it okay to use pi 3b+ ?
Hey I have a laptop. I was reset my laptop but I couldn't install it. What can I do
😂🤣🤣 this is for a pi
Loved It!
Thanks tutorial
Cool. thank you so much.
Nice tutorial. Do you know how to limit the speed of other devices connected to raspberry pi hotspot?
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
Good evening my friend you can show us how we can use one hotspot open wrt
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.
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.
thats not true at all DHCP is widely used and should be understood by anyone in networking.
TOO MUCH WORK- get raspberry people to do ALL THIS automatically-- what a lame program. WTF IS GOING TO DO ALL THIS?
People who are interested
Lol...obviously not you
is it possible to detect network usage by devices using RPI?
As long as snmp is supported by your device it will if not you can still monitor the uptime via icmp ping
What's spec for that Raspberry PI? or any 2GB, 4GB, 8GB will do it?
I use 2GB
Thank you
Heck 512 mb would be enough if you want this is afterall only monitoring its not a firewall or anything heavy.