mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-10-29 17:50:23 +00:00
cli options
This commit is contained in:
52
README.md
52
README.md
@@ -1,4 +1,5 @@
|
||||
|
||||
|
||||

|
||||

|
||||

|
||||
@@ -7,8 +8,53 @@
|
||||

|
||||
|
||||
|
||||
|
||||
# mktxp
|
||||
Prometheus Exporter for Mikrotik RouterOS devices
|
||||
#### Requirements:
|
||||
- [Python 3.6.x](https://www.python.org/downloads/release/python-360/) or later
|
||||
|
||||
|
||||
- OSs:
|
||||
* Linux
|
||||
* Mac OSX
|
||||
* Windows: TBD / maybe
|
||||
|
||||
#### Install:
|
||||
- from [PyPI](https://pypi.python.org/pypi/batchmp): `$ pip install mktxp`
|
||||
- latest from source repository: `$ pip install git+https://github.com/akpw/mktxp`
|
||||
|
||||
|
||||
## Description
|
||||
Prometheus Exporter for Mikrotik RouterOS.
|
||||
MKTXP enables gathering metrics across multiple RouterOS devices, all easily configurable via built-in CLI interface.
|
||||
Comes along with a dedicated [Grafana dashboard](https://grafana.com/grafana/dashboards/13679)
|
||||
|
||||
|
||||
## 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:
|
||||
.. start Starts collecting metrics for all enabled RouterOS configuration entries
|
||||
.. add Adds MKTXP RouterOS configuration entry
|
||||
.. show Shows MKTXP configuration entries
|
||||
.. delete Deletes a MKTXP RouterOS configuration entry
|
||||
.. edit Open MKTXP configuration file in your editor of choice
|
||||
.. info Shows base MKTXP info
|
||||
.. version Shows MKTXP version
|
||||
|
||||
|
||||
## Installing Development version
|
||||
- Clone the repo, then run: `$ python setup.py develop`
|
||||
|
||||
**Running Tests**
|
||||
- TDB
|
||||
- Run via: `$ python setup.py test`
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user