Code Monkey home page Code Monkey logo

Comments (6)

brian-brazil avatar brian-brazil commented on May 19, 2024

No version of this exporter has ever supported string values.

from snmp_exporter.

HyperDevil avatar HyperDevil commented on May 19, 2024

I can guarantee that it worked before the upgrade to the Go version.
I installed the Go version 8:26 PM November 23rd 2016.

Here is the output of prometheus:
https://postimg.org/image/oeuj18pyb/

from snmp_exporter.

HyperDevil avatar HyperDevil commented on May 19, 2024

Template:

meinberglantime:
walk:

  • 1.3.6.1.2.1.1
  • 1.3.6.1.4.1.5597
  • 1.3.6.1.4.1.14988.1.1.14.1.1
  • 1.3.6.1.2.1.7
    metrics:
  • name: SystemUptime
    oid: 1.3.6.1.2.1.1.3
  • name: NTPRefclockOffset
    oid: 1.3.6.1.4.1.5597.30.0.2.4.0
  • name: NTPStratum
    oid: 1.3.6.1.4.1.5597.30.0.2.2
  • name: SystempCelcius
    oid: 1.3.6.1.4.1.5597.30.0.5.2.1
  • name: SatsInView
    oid: 1.3.6.1.4.1.5597.30.0.1.2.1.6
  • name: InUDPdatagrams
    oid: 1.3.6.1.2.1.7.1
  • name: OutUDPdatagrams
    oid: 1.3.6.1.2.1.7.4

from snmp_exporter.

brian-brazil avatar brian-brazil commented on May 19, 2024

That must have been by accident due to a quirk of the Python language and netsnmp python bindings. Even with string support, we're unlikely to support PDUs like this that are using an inappropriate type.

from snmp_exporter.

HyperDevil avatar HyperDevil commented on May 19, 2024

I presume this will fix my issue?

#79

from snmp_exporter.

brian-brazil avatar brian-brazil commented on May 19, 2024

No, there's no plans to allow conversion of strings to floats. That way lies madness.

from snmp_exporter.

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.