Skip to main content

Prometheus Exporter for Mikrotik RouterOS devices

Project description

License Language License License

Description

Prometheus Exporter for Mikrotik RouterOS. MKTXP enables gathering metrics across multiple RouterOS devices, all easily configurable via built-in CLI interface. Comes with a dedicated Grafana dashboard

Requirements:

  • Python 3.6.x or later

  • OSs:

    • Linux
    • Mac OSX
    • Windows: TBD / maybe

Install:

  • from PyPI: $ pip install mktxp
  • latest from source repository: $ pip install git+https://github.com/akpw/mktxp

Getting started

Usage: $ mktxp [-h]
	{info, version, show, add, edit, delete, start}

Commands: {info, version, show, add, edit, delete, start}

    $ mktxp {command} -h  #run this for detailed help on individual commands

Full description of CLI Commands

mktxp

  . action commands:
    .. export   Starts collecting metrics for all enabled RouterOS configuration entries
    .. print    Displays seleted metrics on the command line
    .. info     Shows base MKTXP info
    .. edit     Open MKTXP configuration file in your editor of choice        
    .. add      Adds MKTXP RouterOS configuration entry from the command line
    .. show   	Shows MKTXP configuration entries on the command line
    .. delete   Deletes a MKTXP RouterOS configuration entry from the command line

Installing Development version

  • Clone the repo, then run: $ python setup.py develop

Running Tests

  • TDB
  • Run via: $ python setup.py test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mktxp-0.21.tar.gz (23.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page