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
  • Наука та технологія

КОМЕНТАРІ • 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.

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

  • @mateeshbhave7988
    @mateeshbhave7988 4 роки тому

    Man you are an absolute beast in Zabbix and Linux.

    • @DmitryLambert
      @DmitryLambert  4 роки тому

      Thank you very much for your feedback.

  • @sajamohammed9209
    @sajamohammed9209 Рік тому

    very helpful video , thanks for your efforts ..

  • @nourkonsol3162
    @nourkonsol3162 3 роки тому +1

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

  • @tyson1444
    @tyson1444 4 роки тому +2

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

  • @xDeadlyWarriorX
    @xDeadlyWarriorX 2 роки тому

    Thanks, useful tutorial.

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

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

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

  • @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?

  • @hamimiamhere
    @hamimiamhere 2 роки тому

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

  • @MrRaihanaz
    @MrRaihanaz 4 роки тому +1

    can we implement @ zabbix proxy

  • @marcosmoreira4968
    @marcosmoreira4968 4 роки тому

    Brazil thanks!!!!

  • @zabbixstudent8041
    @zabbixstudent8041 2 роки тому

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

  • @agbefii8453
    @agbefii8453 2 роки тому +1

    Can you update this video with zabbix dockers 6.0

  • @serzhanzhumagazhayev7865
    @serzhanzhumagazhayev7865 Рік тому

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

  • @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

  • @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

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

  • @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

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

  • @danilodistefanis5990
    @danilodistefanis5990 4 роки тому

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

  • @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

  • @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