Code Monkey home page Code Monkey logo

junos_exporter's People

Contributors

lampwins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

junos_exporter's Issues

Allow authentication via SSH keys

Allow a new a new authentication method for using SSH keys.

The user should place their key in a specified file which is copied to the docker container. The profile should then use ssh_key for the auth.

Need to include more interface error types

Each of these are distinct:

Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 31, L2 mismatch timeouts: 0, FIFO errors: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 1, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0, FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0

description

How can I get information with the description from this exporter.
Thank you.

BGP metrics bug

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/async.py", line 56, in handle
    self.handle_request(listener_name, req, client, addr)
  File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/async.py", line 107, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/app.py", line 630, in app
    return callback(environ, start_response)
  File "/app.py", line 595, in metrics
    get_bgp_metrics(registry, dev)
  File "/app.py", line 450, in get_bgp_metrics
    last_state = _peer_state_values[last_state_text]
KeyError: 'NoState'

Caused when a new peering was configured but not provisioned on an interface (no state for the peering at all)

Meta metrics

Include metrics such as probe_success, probe_durration, probe_samples_collected, etc

Prometheus config

Reviewing the docs it indicates that the Junos Exporter 'follows many of the same tenants as the snmp exporter'

Setting mine up like so

 scrape_configs:
    - job_name: 'testjunos'
      static_configs:
        - targets:
          - 10.62.4.11  
      params:
        module: [junos_test]

does not net in valid queries getting passed to the exporter, i assume the reLabel settings are required but im not sure what should go in there. Any help would be appriciated

Routing engine start time not present in newer code.

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/async.py", line 56, in handle
    self.handle_request(listener_name, req, client, addr)
  File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/async.py", line 107, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/app.py", line 630, in app
    return callback(environ, start_response)
  File "/app.py", line 591, in metrics
    get_route_engine_metrics(registry, dev)
  File "/app.py", line 355, in get_route_engine_metrics
    registry.add_metric('startTime', route_engine.find('start-time').attrib['seconds'], meta)
AttributeError: 'NoneType' object has no attribute 'attrib'

Feature request: Allow option to use port 22 for NETCONF

Requesting the ability to choose port 22 for NETCONF over SSH to devices.

In my case there are firewall policies permitting port 22 to all network devices, but not port 830. I'd rather not have to make changes in both firewall policies and device ACLs across the network when the function is already supported on standard SSH port 22.

Thanks for your consideration and for creating this tool.

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.