SNMP Traps in Zabbix Tutorial
Вставка
- Опубліковано 2 січ 2019
- This video hopefully will teach you how to configure Zabbix monitoring system, to successfully receive SNMP traps from your devices and systems, evaluate them based on your triggers, and notify about possible problems!
☕ In case if you want to support this content with coffee:
☕ www.buymeacoffee.com/dmitryla...
👋 SOCIAL MEDIA
→ / discord
→ / dmitrylambert
→ / dmitrylambert
→ / dmitry.lambert
Homelab and Tech UA-cam channel: @DmitryLambertTech
📫 Sign Up For Newsletter And Don't Miss Out on Anything
→tinyurl.com/4sz2ewfb - Наука та технологія
📌 Hey everyone! Did you know you can get exclusive early access to my videos, behind-the-scenes content, and more by becoming a Patreon supporter? By joining our Patreon community, you'll not only be the first to watch new videos, but you'll also be directly supporting the creation of future content. Your support means the world to me and helps me continue to provide free, high-quality tutorials like this one. Click the link below to learn more and become a patron today! 😊
🔗 patreon.com/dmitryl
Thank you for your continued support! 💙
I asked about it. You are my hero for today. Thanks a lot.
You are welcome. There is more than one method how to configure SNMP Traps, as an example instead of Perl script it is possible to use SNMPTT. But this one is most simpliest to maintain and deploy.
I got traps working using this nice tutorial. It would have taken lots longer without instructions. Thanks Dmitry.
Great to hear!
Thanks Dmitry, informative video.
Glad it was helpful!
Man you are an absolute beast in Zabbix and Linux.
Thank you very much for your feedback.
very helpful video , thanks for your efforts ..
Thank you.. helpful. when I work on docker components how to add and modify the files ?
nice tut! is there a similar one out there for the docker variants?
Thanks, useful tutorial.
hi, very instructive video, my question: if i have more network devices how to know from where the traps is the source if allways is going to be 127.0.0.1 source for the snmp server?
Its not gonna be localhost all the time. It is in the video, because I am sending a trap from my VM to my VM.
Hi Dmitry, thanks a lot for detailed explanation. I'm currently stuck with trigger definition for snmp.fallback. If I use nodata function(which if I understood right can provide autoclose) for checking new traps it's generating multiple events. I understand that nodata belongs to timebased functions and so it's processed when data is coming and every 30 seconds by timer process. Any idea how have only one problem generated and automatically closed?
Don't use nodata() for autoclose purprose. Because it will generate a new problem every time nodata() is evaluated. Once per 30seconds.
Hi Dmitry. Can you please advise on this. Performance Statistics/Graphs of Specific Ports of Specific Switches
Brocade Switches are being monitored by Zabbix usig SNMP Discovery.
We want Performance Graphs of Specific Ports of Specific Switches
(e.g. SwitchA port 34 and port 36
SwitchB port 33 and port 35)
1) In Real Time
2) For a Specific Duration.
Nice TuT thank you very much. I like to watch your videos. Because of this I am starting to deploy zabbix.
Anyways. Last time It is working well. But I have tried to install it again.
The net-snmp-perl is not available already.
Do we have alternatives on this one?
Noted
Have you configured Mitel PABX devices? disk size, cpu etc?
can we implement @ zabbix proxy
Brazil thanks!!!!
Cheers Brazil!! :)
Can Zabbix alert you when cisco router config has been changed?
Can you update this video with zabbix dockers 6.0
Спасибо тебе большое и лайк!!! На Zabbix 6.0 и 6.2 будет работать?
Hi, master. Can you help me with this problem? I tried to make this tutorial but of course changing some things, because I'm working with containers. But it doesn't work, could you guide me with it, because I feel that I'm very close to understanding it but I'm sure I missed something.
You can take our official compose files as reference. They come with snmptrapd configured and running.
Hi i have gone through your video is it possible to trap the logs of the (Thales HSM ) ?
I doubt that logs are snmp traps
Hi dimitry, the file zabbix_traps.tmp is empty . How can i resolve it ?
Either issues with the script, or you forgot to configure snmptrapd.conf
Hi, can you show how to use the zabbix api?
Check in the channel. I have one video about API
Hello sir. I am new to zabbix and this SNMP stuffs. Why did you skip the mib?
It is not mandatory. Not always you have all the required MIBs.
I am using Ubuntu 16.04 Zabbix server and have installed snmptt, still dont see any traps received. We are using Zabbix 4.2.6. Any suggestion please...
Try to get traps inside snmptrap log file (not the zabbix). If this part is failing, then you are having issues with the script or with snmptrapd config
i copied all steps and traps ok, but snmp not translate OIDs. Can you help me?
Just update the param OPTIONS on file "/etc/sysconfig/snmptrapd".
OPTIONS="-m +ALL -Lsd"
This was the trick on my RHEL 7 box.
hi, i have a problem , my zabbix_trap.tmp doesn't receive anything frome the snmptrap, i don't understand why, do you have an idea ? (I use ubuntu 18.0.4) thanks a lot, Good video by the way! :)
Finally figured it out. I noticed that snmptrapd process is not present although service seemed to be running. Solution is to change "TRAPDRUN=no" to "TRAPDRUN=yes" in file "/etc/default/snmptrapd".
@@guntiss In the centOS I can not find the path: /etc/default/snmptrapd, would you know if this is different?
@@guntiss No. I have "TRAPDRUN=yes", but doesn't receive anything frome the snmptrap. I can send SNMPtrap to wibBrowser
Resolved !!! UUrrraaa!!! On Ubuntu 16.04, you need to install the snmptt package and configure it.
Seems like a lot of work For something that should be simple LOL
It is simple :)
8:37 @dimitry lambert you leave the SNMPTrapperFile with #. you should have removed it.
*INVALUABLE INFO*. Thank you. Do you have a PayPal or patreon? I want to pay for this video view !
Wop. Saw it on the description. Expect my input tomorrow. Thank you .
Thank you!
What an overly complex process just to make the text from an SNMP trap show up in Zabbix, and requires even more work if you want to do something with that information... It'd be easier and more flexible just to write a script or program to parse the log from Snmptrapd. I've been watching your videos to learn about Zabbix but the more I learn the more I think there are better alternatives to Zabbix out there
selinux blocks working with zabbix_traps.tmp, I spend some time to figure out why my file is empty. after disabling AND RESTARTING snmptrapd everything started to work