Giter VIP home page Giter VIP logo

Comments (5)

vincentbernat avatar vincentbernat commented on May 29, 2024

I don't have an opinion on this. This doesn't seem an easy fit for Snimpy API style, but if you manage to find a way to integrate into the existing style, why not.

from snimpy.

iwanb avatar iwanb commented on May 29, 2024

I looked a bit into it and I think the way it would fit is:

  • adding agent or at least in memory table support (like #6 but without serving),
  • each trap/notification would create an in memory "agent" from the variable bindings,
  • you can browse the trap content as if you were querying the agent, e.g. agent.snmpTrapOID.

With this the notification receiver could be completely separate and would not pollute the API.

from snimpy.

vincentbernat avatar vincentbernat commented on May 29, 2024

I like this plan. 👍

But I cannot help right now.

from snimpy.

iwanb avatar iwanb commented on May 29, 2024

In case somebody would be interested, I found an easier alternative: I use the Net-Snmp smpd server with the snmptrapd receiver as a subagent, and connect to the SNMP server with snimpy.
The notifications can be accessed in the NOTIFICATION-LOG-MIB

I had to use this trick to make it work (or I guess you could configure SNMPv3):
http://freesnmp.com/net-snmp/faqs/#trapdlog

from snimpy.

vincentbernat avatar vincentbernat commented on May 29, 2024

Didn't know about that. Nice workaround.

from snimpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.