prometheus-blackbox-exporter: 0.5.0 -> 0.8.1
This commit is contained in:
parent
9ac5525f87
commit
5d2764eb68
@ -57,8 +57,8 @@ in {
|
|||||||
AmbientCapabilities = [ "CAP_NET_RAW" ]; # for ping probes
|
AmbientCapabilities = [ "CAP_NET_RAW" ]; # for ping probes
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.prometheus-blackbox-exporter}/bin/blackbox_exporter \
|
${pkgs.prometheus-blackbox-exporter}/bin/blackbox_exporter \
|
||||||
-web.listen-address :${toString cfg.port} \
|
--web.listen-address :${toString cfg.port} \
|
||||||
-config.file ${cfg.configFile} \
|
--config.file ${cfg.configFile} \
|
||||||
${concatStringsSep " \\\n " cfg.extraFlags}
|
${concatStringsSep " \\\n " cfg.extraFlags}
|
||||||
'';
|
'';
|
||||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
name = "blackbox_exporter-${version}";
|
name = "blackbox_exporter-${version}";
|
||||||
version = "0.5.0";
|
version = "0.8.1";
|
||||||
rev = version;
|
rev = version;
|
||||||
|
|
||||||
goPackagePath = "github.com/prometheus/blackbox_exporter";
|
goPackagePath = "github.com/prometheus/blackbox_exporter";
|
||||||
@ -11,7 +11,7 @@ buildGoPackage rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "prometheus";
|
owner = "prometheus";
|
||||||
repo = "blackbox_exporter";
|
repo = "blackbox_exporter";
|
||||||
sha256 = "1q719q7xslksj9m5c5d8jmap9380nsrdc71yjyn70rimv8xmzfj1";
|
sha256 = "1bnn1xa11593m66ihdnyka0ck8zmg4abvwdyy5fpnyx29g3ym4sd";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user