macOS
brew install mktxplocal Homebrew formula metadata
brew
Prometheus Exporter for Mikrotik RouterOS devices. Version 1.2.19 via Homebrew; verified 2026-07-12. Also installable with nix: nix profile install nixpkgs#mktxp.
install
brew install mktxplocal Homebrew formula metadata
nix profile install nixpkgs#mktxpnixpkgs package indexes · pkgs/by-name/mk/mktxp/package.nix · source: api.github.com
overview
Prometheus Exporter for Mikrotik RouterOS devices
history
MKTXP is a Python command-line Prometheus exporter for MikroTik RouterOS devices. It exports RouterOS metrics for Prometheus, can print selected metrics directly on the command line, and is commonly paired with Grafana dashboards or the companion mktxp-stack deployment.
The upstream project is maintained at akpw/mktxp on GitHub and describes itself as a Prometheus exporter for MikroTik RouterOS devices. Its README documents local installs, Docker images, Kubernetes examples, CLI commands, RouterOS user setup, and a system configuration file for exporter runtime settings.
The package became a PyPI-distributed Python application early in 2021, with PyPI release history beginning at 0.14 on January 4, 2021. The project reached 1.0 on January 4, 2023 and has continued through the 1.2 series, with GitHub marking v1.2.19 as the latest release on July 10, 2026.
Package-manager adoption reflects the tool's role in home-lab and network-monitoring workflows: the input records Homebrew and Nix package names, while the upstream README documents installation from PyPI, GitHub source, GitHub Container Registry, and deployment through Kubernetes or the mktxp-stack project.
Later 1.2 releases expanded operational use cases with custom labels, multi-router/concurrent scrape support, multi-target exporter support, Docker path improvements, and richer RouterOS collectors. These are packaging-relevant because users often run MKTXP as a service or containerized exporter rather than as an occasional CLI.
Typical use starts by editing mktxp.conf with RouterOS addresses and API credentials, then running mktxp export to serve Prometheus metrics on the configured HTTP listener. The README also documents mktxp print for command-line inspection and mktxp edit or mktxp edit -i for editing main and system configuration.
Configuration is centered on mktxp.conf for router entries and _mktxp.conf for system options. The README documents XDG-style local configuration under ~/.config/mktxp, legacy local configuration under ~/mktxp, and container-oriented configuration under /etc/mktxp via --cfg-dir or bind mounts.
MKTXP is notable to package maintainers because it sits at the intersection of Python packaging, observability tooling, and appliance monitoring. It ships as a CLI, a PyPI package, a Homebrew formula, a Nix package, and a GitHub container image, so packaging quality affects both interactive local use and long-running service deployments.
The 2026 move to pyproject.toml and improved Docker/XDG configuration paths matters for downstream packaging: it reduces friction around build metadata, non-root containers, bind-mounted config directories, and service-manager integration.
security posture
No matching local secret-handling manifest was found for mktxp. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/mktxp/mktxp.conf~/.config/mktxp/_mktxp.conf~/mktxp/mktxp.conf~/mktxp/_mktxp.conf/etc/mktxp/mktxp.conf/etc/mktxp/_mktxp.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mktxp | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:mktxp |
|---|---|
| Version | 1.2.19 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mktxp |
| Homepage | https://github.com/akpw/mktxp |
| Repository | https://github.com/akpw/mktxp |
| Upstream docs | https://github.com/akpw/mktxp |
| License | GPL-2.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/d2/a7/65696f79c7a7d275c7d08d82155b26460ce34d5a08d3014e9666876f4027/mktxp-1.2.19.tar.gz |
| Last updated | 2026-07-12T14:35:14Z |
| Pulse | updated |
| Dependencies | libyaml, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mktxp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mktxp
nix profile install nixpkgs#mktxpsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.