Python Snmp Poller

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 เม.ย. 2020
  • In this video we are creating a simple snmp poller in Python. It will take a input csv and poll multiple hosts with varying frequency over specified MIBs
    github.com/nathanloop/SnmpPol...

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

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

    This was fantastic. It's always helpful to see someone code and watch it fail and have them troubleshoot the reason. Great work

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

    Very useful video to get into network programming. Thank you!

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

    Great job, many thanks for taking the time to post this.

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

    what python version you running in this project?

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

    What do you think this approach can handle thousands of counters from about 50,000 devices, that is, about 5 million counters in a cycle of 5 minutes, or for such tasks only C++ code?

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

    I like working with dictionary formats within jsom files more. It is easier to call for items.

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

    How to use custom mib files with this library?

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

    i cannot import this lib on Pycharm it fails, this lib seems to be the most easy one to use, i think it is because it does not work on Windows

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

      Windows does not accept easysnmp, im running Pycharm on Linux and now working 100%

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

    hey Nathan, this is pretty cool, but the output you are getting has bunch of other data that are not useful, how can you get only the piece that you need, for instance, the location only

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

    Great video. Anyone know how it could return data based on a OIB I have? For instance UPS voltage, and save to csv.

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

      I would like to know as well. Have you found anything? Im wanting to set up something similar to what he is doing but I would like for it to receive Traps for an APC UPS network.

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

      @@kanewells5624 I found puresnmp and the get command. You can do get(ip, community, oid) and return the value. I’m not sure about traps, but I believe there is a section on the puresnmp docs also. I also tried easysnmp also, and it worked pretty well.

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

      @@gregorydavis7931 thank you very much man!

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

    Hey man, can I contact you by email? I'm interested in your SNMP poller.

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

    pip install easysnmp generates an error on Windows, It does not install.

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

      Sorry if this is too late man, you need to follow the installation instructions on the EasySNMP website before following this video. Not sure why Nathan didn't point you in this direction weeks ago.

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

      @@jerryb232 Hi, I looked into the instructions and however could not find the details for the installation on windows machine. Can you please help me? Receiving an error ' error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.28.29910\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2" .Thanks

    • @jerryb232
      @jerryb232 3 ปีที่แล้ว +2

      @@amarimuthu EasySNMP is not supported in Windows.

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

      @@jerryb232 Many thanks. Is there any package for Python supported for Windows? I am currently trying pysnmp. Thank you

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

      @@amarimuthu Sorry, I'm not sure about which Python SNMP libraries are supported on Windows, I haven't used Windows for years.