Automic VaultAutomic Vault

brew

Install mktxp with Homebrew, Nix

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

Additional install commands

macOS

Homebrewverified · 100%
brew install mktxp

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#mktxp

nixpkgs package indexes · pkgs/by-name/mk/mktxp/package.nix · source: api.github.com

overview

Package summary

Prometheus Exporter for Mikrotik RouterOS devices

Commands and aliases

  • mktxp

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2021-01-04: PyPI release history begins with version 0.14.
  • 2023-01-04: Version 1.0 released on PyPI.
  • 2025-09-15: v1.2.14 release notes include injectable device-level custom labels and dedicated config sections for new parameters.
  • 2025-12-22: v1.2.16 release notes describe Dockerfile improvements and support for /etc/mktxp or XDG standard paths.
  • 2026-07-10: v1.2.19 marked latest on GitHub and published on PyPI.

Related projects

  • mktxp-stack is the upstream companion project for a ready-to-go MKTXP monitoring stack.
  • Prometheus and Grafana are the primary monitoring and visualization tools documented by the project.
  • MikroTik RouterOS is the monitored network-device platform.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/mktxp/mktxp.conf~/.config/mktxp/_mktxp.conf~/mktxp/mktxp.conf~/mktxp/_mktxp.conf/etc/mktxp/mktxp.conf/etc/mktxp/_mktxp.conf

executables

Installed executables

CommandKindExposureNote
mktxpcliglobal executable

freshness

Version and 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.

page generated2026-07-25
manager version1.2.19
manager updated2026-07-12
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/akpw/mktxp

install metadata

Package metadata

Package keybrew:mktxp
Version1.2.19
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mktxp
Homepagehttps://github.com/akpw/mktxp
Repositoryhttps://github.com/akpw/mktxp
Upstream docshttps://github.com/akpw/mktxp
LicenseGPL-2.0-or-later
Source archivehttps://files.pythonhosted.org/packages/d2/a7/65696f79c7a7d275c7d08d82155b26460ce34d5a08d3014e9666876f4027/mktxp-1.2.19.tar.gz
Last updated2026-07-12T14:35:14Z
Pulseupdated
Dependencieslibyaml, python@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemktxp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

mktxp

nix profile install nixpkgs#mktxp
  • normalized package name match
  • Matched by: Mktxp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mk/mktxp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment