Giter Club home page Giter Club logo

Comments (3)

weijiage avatar weijiage commented on July 30, 2024

Hi Renato,

Please find the error handling of new alias creation in this pull request #125, jtimon won't be silent on why alias is not working.

from jtimon.

renatoornelas avatar renatoornelas commented on July 30, 2024

Just upgraded our installation to the git version, but got no log on stdout and the alias still not working.

I'm using only this config:
{
"host": "XXXX",
"port": 32767,
"paths": [
{ "path": "/lldp", "freq": 5000 }
],
"alias": "alias.txt"
}

and this alias.txt:
lldp-frame-in-total:/lldp/state/counters/frame-in
lldp-frame-out-total:/lldp/state/counters/frame-out
lldp-hello-timer:/lldp/state/hello-timer
lldp-system-name:/lldp/state/system-name
lldp-enabled:/lldp/state/enabled

I got this on the scrape:

# HELP _lldp_state_counters_frame_in JTIMON Metric
# TYPE _lldp_state_counters_frame_in untyped
_lldp_state_counters_frame_in{device="XXX"} 55769
# HELP _lldp_state_counters_frame_out JTIMON Metric
# TYPE _lldp_state_counters_frame_out untyped
_lldp_state_counters_frame_out{device="XXX"} 60288
# HELP _lldp_state_counters_tlv_accepted JTIMON Metric
# TYPE _lldp_state_counters_tlv_accepted untyped
_lldp_state_counters_tlv_accepted{device="XXX"} 3.4907674e+07
# HELP _lldp_state_enabled JTIMON Metric
# TYPE _lldp_state_enabled untyped
_lldp_state_enabled{device="XXX"} 1

from jtimon.

weijiage avatar weijiage commented on July 30, 2024

May you please try the following config? Setting verbose to true may help.
{ "host": "XXXX", "port": 32767, "paths": [ { "path": "/lldp", "freq": 5000 } ], "alias": "alias.txt", "log": { "verbose": true } }

from jtimon.

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.