mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
scollector should talk to Bosun, not OpenTSDB
This commit is contained in:
parent
891c262e9a
commit
fb67616588
1 changed files with 4 additions and 4 deletions
|
@ -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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue