macOS
brew install mktxplocal Homebrew formula metadata
安装
brew install mktxplocal Homebrew formula metadata
nix profile install nixpkgs#mktxpnixpkgs package indexes · pkgs/by-name/mk/mktxp/package.nix · 来源: api.github.com
概览
Prometheus Exporter for Mikrotik RouterOS devices
历史
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.
安全态势
没有找到 mktxp 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mktxp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mktxp |
|---|---|
| 版本 | 1.2.19 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mktxp |
| 主页 | https://github.com/akpw/mktxp |
| 仓库 | https://github.com/akpw/mktxp |
| 上游文档 | https://github.com/akpw/mktxp |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/d2/a7/65696f79c7a7d275c7d08d82155b26460ce34d5a08d3014e9666876f4027/mktxp-1.2.19.tar.gz |
| 最后更新 | 2026-07-12T14:35:14Z |
| Pulse | updated |
| 依赖 | libyaml, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mktxp
nix profile install nixpkgs#mktxp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.