macOS
brew install mrtglocal Homebrew formula metadata
安装
brew install mrtglocal Homebrew formula metadata
sudo apk add mrtgAlpine Linux edge package indexes · mrtg · 来源: dl-cdn.alpinelinux.org
sudo dnf install mrtgFedora Rawhide package metadata · mrtg · 来源: dl.fedoraproject.org
nix profile install nixpkgs#mrtgnixpkgs package indexes · pkgs/by-name/mr/mrtg/package.nix · 来源: api.github.com
概览
Multi router traffic grapher
历史
MRTG, the Multi Router Traffic Grapher, is Tobias Oetiker's classic network-traffic graphing tool, co-authored with Dave Rand. Oetiker's project documentation traces its origin to 1994, when he needed to show how a 64 kbit Internet link was performing and wrote a quick web graphing hack. That hack evolved into the configurable Perl script MRTG 1.0, released in spring 1995.
A major technical milestone came in January 1996 after Dave Rand investigated MRTG's speed. Oetiker's history says Rand rewrote the time-critical parts in C, producing about a forty-fold speedup and prompting renewed development of MRTG 2. The resulting architecture paired Perl-based polling and configuration with fast C routines for logging and graph generation.
In operation MRTG polls SNMP counters or external command output, logs the values, and generates HTML pages with PNG graphs for day, week, month, and year views. It keeps constant-size log files through data consolidation, supports SNMPv2c 64-bit counters, can identify interfaces by IP address, description, or Ethernet address, and has hooks for RRDtool when performance demands it. Although it began with router interfaces, the documentation explicitly notes monitoring arbitrary SNMP variables or command outputs such as system load, login sessions, modem availability, and similar integer-valued metrics.
MRTG's package-manager niche is old but durable network monitoring. It predates many web-dashboard monitoring stacks and remains useful where static HTML graphs, cron or daemon polling, SNMP, and simple deployment are enough. Related tools such as RRDtool, Munin, and Cacti cover broader graphing or dashboard workflows, while MRTG retains the direct router-traffic-grapher identity in Unix and macOS packaging.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cfgmaker | cli | 全局可执行文件 | |
indexmaker | cli | 全局可执行文件 | |
mrtg | cli | 全局可执行文件 | |
mrtg-traffic-sum | cli | 全局可执行文件 | |
rateup | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mrtg |
|---|---|
| 版本 | 2.17.10 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mrtg |
| 主页 | https://oss.oetiker.ch/mrtg/ |
| 仓库 | https://github.com/oetiker/mrtg |
| 上游文档 | https://mrtg.org/mrtg/doc |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://oss.oetiker.ch/mrtg/pub/mrtg-2.17.10.tar.gz |
| 依赖 | gd, libpng |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mrtg |
| 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 软件包链接分开显示。
mrtg 2.17.10-13+deb13u1
Multi Router Traffic Grapher
sudo apt install mrtgmrtg-contrib 2.17.10-13+deb13u1
Multi Router Traffic Grapher (contributed files)
sudo apt install mrtg-contribmrtg
nix profile install nixpkgs#mrtgmrtg 2.17.10-12
Multi Router Traffic Grapher
sudo apt install mrtgmrtg-contrib 2.17.10-12
Multi Router Traffic Grapher (contributed files)
sudo apt install mrtg-contribmrtg 2.17.10-r2
MRTG Network Latency Monitoring
sudo apk add mrtgmrtg-doc 2.17.10-r2
MRTG Network Latency Monitoring (documentation)
sudo apk add mrtg-docmrtg 2.17.10-13.fc44
Multi Router Traffic Grapher
sudo dnf install mrtgmrtg-selinux 2.17.10-13.fc44
mrtg SELinux policy
sudo dnf install mrtg-selinuxmrtg
sudo port install mrtg来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.