Skip to content

Commit

Permalink
prometheus-snmp-exporter: init at v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oida authored and globin committed Dec 29, 2016
1 parent 8837b4a commit 8376f5c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Expand Up @@ -332,6 +332,7 @@
ocharles = "Oliver Charles <ollie@ocharles.org.uk>";
odi = "Oliver Dunkl <oliver.dunkl@gmail.com>";
offline = "Jaka Hudoklin <jakahudoklin@gmail.com>";
oida = "oida <oida@posteo.de>";
okasu = "Okasu <oka.sux@gmail.com>";
olcai = "Erik Timan <dev@timan.info>";
olejorgenb = "Ole Jørgen Brønner <olejorgenb@yahoo.no>";
Expand Down
26 changes: 26 additions & 0 deletions pkgs/servers/monitoring/prometheus/snmp-exporter.nix
@@ -0,0 +1,26 @@
{ stdenv, lib, go, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "snmp_exporter-${version}";
version = "0.1.0";
rev = "v${version}";

goPackagePath = "github.com/prometheus/snmp_exporter";

src = fetchFromGitHub {
inherit rev;
owner = "prometheus";
repo = "snmp_exporter";
sha256 = "1faa1gla5nqkhf1kq60v22bcph41qix3dn9db0w0fh2pkxpdxvrp";
};

doCheck = true;

meta = with stdenv.lib; {
description = "SNMP Exporter for Prometheus";
homepage = https://github.com/prometheus/snmp_exporter;
license = licenses.asl20;
maintainers = with maintainers; [ oida ];
platforms = platforms.unix;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -10435,6 +10435,7 @@ in
prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { };
prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix { };
prometheus-pushgateway = callPackage ../servers/monitoring/prometheus/pushgateway.nix { };
prometheus-snmp-exporter = callPackage ../servers/monitoring/prometheus/snmp-exporter.nix { };
prometheus-statsd-bridge = callPackage ../servers/monitoring/prometheus/statsd-bridge.nix { };

psqlodbc = callPackage ../servers/sql/postgresql/psqlodbc { };
Expand Down

0 comments on commit 8376f5c

Please sign in to comment.