From fb67616588ebd4bf4343ffab9d900dd77a6d97c6 Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Thu, 20 Nov 2014 14:49:56 +0000 Subject: [PATCH] scollector should talk to Bosun, not OpenTSDB --- nixos/modules/services/monitoring/scollector.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/monitoring/scollector.nix b/nixos/modules/services/monitoring/scollector.nix index 3d52631538b0..ca0cbd97d892 100644 --- a/nixos/modules/services/monitoring/scollector.nix +++ b/nixos/modules/services/monitoring/scollector.nix @@ -44,11 +44,11 @@ in { ''; }; - opentsdbHost = mkOption { + bosunHost = mkOption { type = types.string; - default = "localhost:4242"; + default = "localhost:8070"; description = '' - Host and port of the OpenTSDB database that will store the collected + Host and port of the bosun server that will store the collected data. ''; }; @@ -70,7 +70,7 @@ in { User = cfg.user; Group = cfg.group; ExecStart = '' - ${cfg.package}/bin/scollector -h=${cfg.opentsdbHost} + ${cfg.package}/bin/scollector -h=${cfg.bosunHost} ''; }; };