about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/scollector.nix
diff options
context:
space:
mode:
authorOliver Charles <ollie@ocharles.org.uk>2014-11-20 14:49:56 +0000
committerOliver Charles <ollie@ocharles.org.uk>2014-11-24 14:40:48 +0000
commitfb67616588ebd4bf4343ffab9d900dd77a6d97c6 (patch)
tree05dae9d5bd23f2eeb048e64ef4764f75d4720150 /nixos/modules/services/monitoring/scollector.nix
parent891c262e9a90520070762389db3e97ca44c88ac3 (diff)
scollector should talk to Bosun, not OpenTSDB
Diffstat (limited to 'nixos/modules/services/monitoring/scollector.nix')
-rw-r--r--nixos/modules/services/monitoring/scollector.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/monitoring/scollector.nix b/nixos/modules/services/monitoring/scollector.nix
index 3d52631538b09..ca0cbd97d8929 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}
         '';
       };
     };