# Installer mrtg avec Homebrew, apk, apt, dnf, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mrtg pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:mrtg
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install mrtg
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mrtg
```

  Preuve: MacPorts ports tree: net/mrtg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mrtg
```

  Preuve: Alpine Linux edge package indexes: mrtg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mrtg
```

  Preuve: Debian stable package indexes: mrtg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mrtg
```

  Preuve: Fedora Rawhide package metadata: mrtg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mrtg
```

  Preuve: nixpkgs package indexes: pkgs/by-name/mr/mrtg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:mrtg
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.17.10
- **Résumé source:** Multi router traffic grapher
- **Page d'accueil:** <https://oss.oetiker.ch/mrtg/>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cfgmaker (alias)
- indexmaker (alias)
- mrtg (alias)
- mrtg-traffic-sum (alias)
- rateup (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.17.10
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Sources

- <https://formulae.brew.sh/formula/mrtg>
- <https://oss.oetiker.ch/mrtg/doc/mrtg.en.html>
- <https://www.usenix.org/legacy/event/lisa98/full_papers/oetiker/oetiker.pdf>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - mrtg - 2.17.10-13+deb13u1: normalized package name match | Debian stable package indexes: mrtg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Multi Router Traffic Grapher | https://oss.oetiker.ch/mrtg
- Debian apt - mrtg-contrib - 2.17.10-13+deb13u1: normalized package name match | Debian stable package indexes: mrtg-contrib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Multi Router Traffic Grapher (contributed files) | https://oss.oetiker.ch/mrtg
- Nix - mrtg: normalized package name match | nixpkgs package indexes: pkgs/by-name/mr/mrtg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mrtg - 2.17.10-12: normalized package name match | Ubuntu 24.04 LTS package indexes: mrtg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Multi Router Traffic Grapher | https://oss.oetiker.ch/mrtg
- Ubuntu apt - mrtg-contrib - 2.17.10-12: normalized package name match | Ubuntu 24.04 LTS package indexes: mrtg-contrib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Multi Router Traffic Grapher (contributed files) | https://oss.oetiker.ch/mrtg
- apk - mrtg - 2.17.10-r2: normalized package name match | Alpine Linux edge package indexes: mrtg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | MRTG Network Latency Monitoring | https://oss.oetiker.ch/mrtg/
- apk - mrtg-doc - 2.17.10-r2: normalized package name match | Alpine Linux edge package indexes: mrtg-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | MRTG Network Latency Monitoring (documentation) | https://oss.oetiker.ch/mrtg/
- dnf - mrtg - 2.17.10-14.fc45: normalized package name match | Fedora Rawhide package metadata: mrtg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Multi Router Traffic Grapher | http://oss.oetiker.ch/mrtg/
- dnf - mrtg-selinux - 2.17.10-14.fc45: normalized package name match | Fedora Rawhide package metadata: mrtg-selinux from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | mrtg SELinux policy | http://oss.oetiker.ch/mrtg/
- MacPorts - mrtg: normalized package name match | MacPorts ports tree: net/mrtg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/mrtg.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mrtg.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
