Add an extraConfig option to bosun

This commit is contained in:
Oliver Charles 2014-11-20 14:56:49 +00:00
parent fb67616588
commit 1280c6aa64

View File

@ -10,6 +10,8 @@ let
httpListen = ${cfg.listenAddress}
stateFile = ${cfg.stateFile}
checkFrequency = 5m
${cfg.extraConfig}
'';
in {
@ -75,6 +77,19 @@ in {
'';
};
extraConfig = mkOption {
type = types.string;
default = "";
description = ''
Extra configuration options for Bosun. You should describe your
desired templates, alerts, macros, etc through this configuration
option.
A detailed description of the supported syntax can be found at-spi2-atk
http://bosun.org/configuration.html
'';
};
};
};