Giter Club home page Giter Club logo

cisco_exporter's Introduction

cisco_exporter

Exporter for metrics from devices running Cisco (NX-OS/IOS XE/IOS) (via SSH) https://prometheus.io/

The basic structure is based on https://github.com/czerwonk/junos_exporter

flags

Name Description Default
version  Print version information.
web.listen-address  Address on which to expose metrics and web interface. :9362
web.telemetry-path Path under which to expose metrics.  /metrics
ssh.targets Comma seperated list of hosts to scrape
ssh.user Username to use for SSH connection cisco_exporter
ssh.keyfile  Key file to use for SSH connection cisco_exporter
debug  Show verbose debug output false
legacy.ciphers Allow insecure legacy ciphers: aes128-cbc 3des-cbc aes192-cbc aes256-cbc false

metrics

All metrics are enabled by default. To disable something pass a flag --<name>.enabled=false, where <name> is the name of the metric.

Name Description OS
bgp BGP (message count, prefix counts per peer, session state) IOS XE/NX-OS
environment Environment (temperatures, state of power supply)  NX-OS/IOS XE/IOS
facts System informations (OS Version, memory: total/used/free, cpu: 5s/1m/5m/interrupts) IOS XE/IOS
interface Interfaces (transmitted/received: bytes/errors/drops, admin/oper state)  NX-OS (*_drops is always 0)/IOS XE/IOS
optics Optical signals (tx/rx)  NX-OS/IOS XE/IOS

Install

go get -u github.com/lwlcom/cisco_exporter

Usage

./cisco_exporter -ssh.targets="host1.example.com,host2.example.com:2233,172.16.0.1" -ssh.keyfile=cisco_exporter

Third Party Components

This software uses components of the following projects

License

(c) Martin Poppen, 2018. Licensed under MIT license.

Prometheus

see https://prometheus.io/

cisco_exporter's People

Contributors

l3akage avatar henriots avatar

Watchers

James Cloos avatar

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.