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 TH-cam channel: @DmitryLambertTech
    📫 Sign Up For Newsletter And Don't Miss Out on Anything
    →tinyurl.com/4sz2ewfb
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 62

  • @DmitryLambert
    @DmitryLambert  ปีที่แล้ว

    📌 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! 💙

  • @8dalight
    @8dalight 5 ปีที่แล้ว +3

    I asked about it. You are my hero for today. Thanks a lot.

    • @DmitryLambert
      @DmitryLambert  5 ปีที่แล้ว +1

      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.

  • @mateeshbhave7988
    @mateeshbhave7988 4 ปีที่แล้ว

    Man you are an absolute beast in Zabbix and Linux.

    • @DmitryLambert
      @DmitryLambert  4 ปีที่แล้ว

      Thank you very much for your feedback.

  • @simonsonjh
    @simonsonjh 3 ปีที่แล้ว +1

    I got traps working using this nice tutorial. It would have taken lots longer without instructions. Thanks Dmitry.

  • @arihant.creates
    @arihant.creates 4 ปีที่แล้ว

    Thanks Dmitry, informative video.

  • @sajamohammed9209
    @sajamohammed9209 ปีที่แล้ว

    very helpful video , thanks for your efforts ..

  • @xDeadlyWarriorX
    @xDeadlyWarriorX 2 ปีที่แล้ว

    Thanks, useful tutorial.

  • @tyson1444
    @tyson1444 4 ปีที่แล้ว +2

    nice tut! is there a similar one out there for the docker variants?

  • @nourkonsol3162
    @nourkonsol3162 3 ปีที่แล้ว +1

    Thank you.. helpful. when I work on docker components how to add and modify the files ?

  • @sudhirbisht5577
    @sudhirbisht5577 2 ปีที่แล้ว

    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.

  • @hamimiamhere
    @hamimiamhere 2 ปีที่แล้ว

    Have you configured Mitel PABX devices? disk size, cpu etc?

  • @MartinPika
    @MartinPika 5 ปีที่แล้ว

    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?

    • @DmitryLambert
      @DmitryLambert  4 ปีที่แล้ว

      Don't use nodata() for autoclose purprose. Because it will generate a new problem every time nodata() is evaluated. Once per 30seconds.

  • @jairalexfuerteslino
    @jairalexfuerteslino 5 ปีที่แล้ว +1

    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?

    • @DmitryLambert
      @DmitryLambert  5 ปีที่แล้ว +3

      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.

  • @zabbixstudent8041
    @zabbixstudent8041 2 ปีที่แล้ว

    Can Zabbix alert you when cisco router config has been changed?

  • @MrRaihanaz
    @MrRaihanaz 4 ปีที่แล้ว +1

    can we implement @ zabbix proxy

  • @brylleflores8855
    @brylleflores8855 4 ปีที่แล้ว

    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?

  • @marcosmoreira4968
    @marcosmoreira4968 4 ปีที่แล้ว

    Brazil thanks!!!!

  • @agbefii8453
    @agbefii8453 2 ปีที่แล้ว +1

    Can you update this video with zabbix dockers 6.0

  • @hinaxnaru98
    @hinaxnaru98 4 ปีที่แล้ว

    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.

    • @DmitryLambert
      @DmitryLambert  4 ปีที่แล้ว

      You can take our official compose files as reference. They come with snmptrapd configured and running.

  • @panneera3671
    @panneera3671 7 หลายเดือนก่อน

    Hi i have gone through your video is it possible to trap the logs of the (Thales HSM ) ?

    • @DmitryLambert
      @DmitryLambert  7 หลายเดือนก่อน

      I doubt that logs are snmp traps

  • @cosimomanisi8171
    @cosimomanisi8171 4 ปีที่แล้ว

    Hi dimitry, the file zabbix_traps.tmp is empty . How can i resolve it ?

    • @DmitryLambert
      @DmitryLambert  4 ปีที่แล้ว

      Either issues with the script, or you forgot to configure snmptrapd.conf

  • @sheetalgcin
    @sheetalgcin 4 ปีที่แล้ว

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

    • @DmitryLambert
      @DmitryLambert  4 ปีที่แล้ว +1

      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

  • @ivybabeabe
    @ivybabeabe 5 ปีที่แล้ว

    Hello sir. I am new to zabbix and this SNMP stuffs. Why did you skip the mib?

    • @DmitryLambert
      @DmitryLambert  5 ปีที่แล้ว

      It is not mandatory. Not always you have all the required MIBs.

  • @serzhanzhumagazhayev7865
    @serzhanzhumagazhayev7865 ปีที่แล้ว

    Спасибо тебе большое и лайк!!! На Zabbix 6.0 и 6.2 будет работать?

  • @danielreinhardt2906
    @danielreinhardt2906 5 ปีที่แล้ว +1

    Hi, can you show how to use the zabbix api?

    • @DmitryLambert
      @DmitryLambert  5 ปีที่แล้ว +1

      Check in the channel. I have one video about API

  • @murilosaldanha437
    @murilosaldanha437 5 ปีที่แล้ว

    i copied all steps and traps ok, but snmp not translate OIDs. Can you help me?

    • @robsonjorgefernandez8498
      @robsonjorgefernandez8498 4 ปีที่แล้ว

      Just update the param OPTIONS on file "/etc/sysconfig/snmptrapd".
      OPTIONS="-m +ALL -Lsd"
      This was the trick on my RHEL 7 box.

  • @B95203
    @B95203 5 ปีที่แล้ว

    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! :)

    • @guntiss
      @guntiss 5 ปีที่แล้ว

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

    • @pabloecliton1121
      @pabloecliton1121 5 ปีที่แล้ว

      @@guntiss In the centOS I can not find the path: /etc/default/snmptrapd, would you know if this is different?

    • @yuric5
      @yuric5 5 ปีที่แล้ว

      @@guntiss No. I have "TRAPDRUN=yes", but doesn't receive anything frome the snmptrap. I can send SNMPtrap to wibBrowser

    • @yuric5
      @yuric5 5 ปีที่แล้ว

      Resolved !!! UUrrraaa!!! On Ubuntu 16.04, you need to install the snmptt package and configure it.

  • @PadreDProductions
    @PadreDProductions 3 ปีที่แล้ว

    Seems like a lot of work For something that should be simple LOL

  • @elik1985
    @elik1985 2 ปีที่แล้ว

    8:37 @dimitry lambert you leave the SNMPTrapperFile with #. you should have removed it.

  • @Brian-nz6ns
    @Brian-nz6ns 3 หลายเดือนก่อน

    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

  • @danilodistefanis5990
    @danilodistefanis5990 4 ปีที่แล้ว

    *INVALUABLE INFO*. Thank you. Do you have a PayPal or patreon? I want to pay for this video view !

  • @t00bzeek
    @t00bzeek ปีที่แล้ว

    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