prometheus-snmp-exporter: 0.29.0 -> 0.30.1
Add noop config to make snmp-exporter actually start without error as it now requires at least some modules configured. Signed-off-by: Sergei Lukianov <me@slukjanov.name>
This commit is contained in:
@@ -1733,6 +1733,7 @@ let
|
||||
community = "public";
|
||||
version = 2;
|
||||
};
|
||||
modules.test = { };
|
||||
};
|
||||
};
|
||||
exporterTest = ''
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "snmp_exporter";
|
||||
version = "0.29.0";
|
||||
version = "0.30.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prometheus";
|
||||
repo = "snmp_exporter";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-eM3R4wNsBeGscaTzqdrj9ceiKFjRF3F78SWDamNMEYM=";
|
||||
sha256 = "sha256-vLgqcqjnUvXYlxVyybDvra9YY5Im17L4I3LLf77tR8M=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-C5iY3hBqepxLkGwPDVmnDf/ugF4h5y8scEomU9mkMEM=";
|
||||
vendorHash = "sha256-3Rjt91Xb0Y5OCkwGQVQLZ6zK0+xVk8XNrGfax6zZJ7o=";
|
||||
|
||||
buildInputs = [ net-snmp ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user