mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
cf4318ad4e
- The Multi Router Traffic Grapher - You have a router, you want to know what it does all day long? - Then MRTG is for you. It will monitor SNMP network devices and draw - pretty pictures showing how much traffic has passed through each interface.
23 lines
529 B
Nix
23 lines
529 B
Nix
{ stdenv, fetchurl, perl, gd, rrdtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.17.4";
|
|
name = "mrtg-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://oss.oetiker.ch/mrtg/pub/${name}.tar.gz";
|
|
sha256 = "0r93ipscfp7py0b1dcx65s58q7dlwndqhprf8w4945a0h2p7zyjy";
|
|
};
|
|
|
|
buildInputs = [
|
|
perl gd rrdtool
|
|
];
|
|
|
|
meta = {
|
|
description = "The Multi Router Traffic Grapher";
|
|
homepage = http://oss.oetiker.ch/mrtg/;
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.robberer ];
|
|
};
|
|
}
|