Renaud
6a5fff3741
Merge pull request #51001 from c0bw3b/cleanup/more-https
...
Treewide: use more HTTPS-enabled sources
2018-11-25 16:22:34 +01:00
Craig Younkins
eff461c8ef
treewide: systemd timeout arguments to use infinity instead of 0 ( #50934 )
...
Fixes https://github.com/NixOS/nixpkgs/issues/49700
2018-11-25 13:33:22 +01:00
c0bw3b
434eab9955
nixos/systemhealth: fix url and use https
2018-11-24 23:07:30 +01:00
Andreas Rammhold
51c3082119
nixos/prometheus: require one alertmanager configuration parameter
...
This commit adds an assertion that checks that either `configFile` or
`configuration` is configured for alertmanager. The alertmanager config
can not be an empty attributeset. The check executed with `amtool` fails
before the service even has the chance to start. We should probably not
allow a broken alertmanager configuration anyway.
This also introduces a test for alertmanager configuration that piggy
backs on the existing prometheus tests.
2018-11-23 19:45:17 +01:00
Andreas Rammhold
b1032db5a9
nixos/prometheus: check alertmanager configuration
2018-11-23 19:45:17 +01:00
Andreas Rammhold
d1ef00ebee
nixos/prometheus: add package
option to alertmanager
2018-11-23 19:45:17 +01:00
Jörg Thalheim
769735d8a1
netdata: create missing /etc/netdata
...
Since netdata 1.11.0 updated in https://github.com/NixOS/nixpkgs/pull/50459
it needs to have a /etc/netdata directory, which we did not create by default.
fixes #50893
2018-11-21 23:00:04 +00:00
Jörg Thalheim
31d2593ced
netdata: fix python plugins
...
fixes #33366
2018-11-17 15:38:15 +00:00
Jörg Thalheim
348b7b8be9
nixos/netdata: own plugins must the looked up first
...
Otherwise netdata will not find python modules.
To make sure netdata still pick up our setuid version of apps.plugin
we rename the original executable.
2018-11-16 11:24:27 -05:00
Jörg Thalheim
1d261945c7
Merge pull request #50113 from ryantm/monit
...
nixos/monit: change type of 'config' option to lines
2018-11-10 14:47:38 +00:00
Silvan Mosberger
9c984b06c4
Merge pull request #38514 from disassembler/grafana-reporter
...
grafana-reporter: init at 2.0.1
2018-11-10 15:15:21 +01:00
Ryan Mulligan
8d0b95dc09
nixos/monit: change type of 'config' option to lines
...
By using types.lines for 'config', we can specify monit configurations
in lots of modules and they can all be automatically combined together
with newlines. This is desireable because different modules might want
to each specify the small monitoring task specific to their service.
This commit also updates the module to use current idioms.
2018-11-09 16:07:42 -08:00
Sander van der Burg
530b4bcadd
nixos/alerta: create new module + add kapacitor integration
2018-11-08 22:34:23 +01:00
Andreas Rammhold
6795bdd58c
nixos/prometheus: check configuration before starting service
...
With `promtool` we can check the validity of a configuration before
deploying it. This avoids situations where you would end up with a
broken monitoring system without noticing it - since the monitoring
broke down. :-)
2018-11-04 15:08:44 +01:00
Andreas Rammhold
0de150e0f2
nixos/prometheus: add package
option
...
With a package option we can let the user decide what package to use for
prometheus without requiring an overlay.
2018-11-04 15:08:44 +01:00
Sander van der Burg
60298d1e08
nixos/kapacitor: new service
2018-11-01 21:53:45 +01:00
Samuel Leathers
5b30cd77db
nixos/grafana_reporter: initial service
2018-10-27 05:15:03 -04:00
Rob Vermaas
debbed29d1
datadog-agent: add option to enable trace agent
2018-10-23 12:30:06 +02:00
Jörg Thalheim
c4a7ebb46b
Merge pull request #47070 from Mic92/grafana-improvements
...
Grafana: secrets outside of the nix store + smtp
2018-10-21 14:21:09 +01:00
Renaud
cb9237d16f
Merge pull request #47775 from florianjacob/munin-var-run-to-run
...
nixos/munin: move from /var/run to /run
2018-10-21 10:07:25 +02:00
Pierre Bourdon
cf58856d90
nixos/prometheus: add webExternalUrl option
...
Similar to the prometheus.alertmanager.webExternalUrl option, but for
Prometheus itself.
2018-10-20 13:45:55 +02:00
Pierre Bourdon
86d644f8cc
prometheus-tor-exporter: init at 0.3
...
Upstream: https://github.com/atx/prometheus-tor_exporter
2018-10-13 10:10:29 +02:00
WilliButz
fbb7e0c82f
nixos/prometheus-exporters: fix unapplied service config
...
Prior to this commit, the default values for `Restart`, `PrivateTmp` and
`WorkingDirectory` were falsely ignored.
I also added myself as maintainer.
2018-10-08 17:21:49 +02:00
WilliButz
24320f4a9e
nixos/prometheus-varnish-exporter: avoid crash on restart
2018-10-08 17:21:48 +02:00
Andrew Childs
c477d6658c
nixos/prometheus-snmp-exporter: fix command line argument format
2018-10-07 11:35:55 +09:00
Matthew Bauer
907afd17f9
Merge pull request #46068 from azazel75/alertmanager-flags
...
Prometheus Alertmanager: Allow the definition of extra options on commandline
2018-10-05 22:52:48 -05:00
Florian Jacob
c54aa26a2d
nixos/munin: move from /var/run to /run
...
as using /var/run now emits a warning by systemd's tmpfiles.d.
As /var/run is already a symlink to /run, this can't break anything, and
data does not need to be migrated.
2018-10-03 17:36:37 +02:00
Graham Christensen
8413f22bb3
docs: format
2018-09-29 20:51:11 -04:00
Jörg Thalheim
9046673696
nixos/grafana: option to configure smtp
2018-09-20 23:06:10 +01:00
Jörg Thalheim
7eb9c348fb
nixos/grafana: options to store secrets not in nix store
2018-09-20 23:06:10 +01:00
Domen Kožar
5715aa1951
datadog-agent: remove privateTmp=true
...
This allows postgres integration to connect to socket in /tmp
2018-09-19 18:53:51 +01:00
Domen Kožar
bef541c569
datadog: add live process monitoring
2018-09-13 09:11:06 +01:00
Domen Kožar
049b3a6cc2
nixos: remove unneeded api_key from config
2018-09-13 09:11:06 +01:00
Robin Gloster
929f71d381
grafana module: allow path for extraConfig vals
2018-09-12 14:21:46 +02:00
David Smith
1d497bbff1
nixos/riemann: refactor config
...
Previously it was only possible to use very simple Riemann config.
For more complicated scenarios you need a directory of clojure
files and the config file that riemann starts with should be in this
directory.
2018-09-07 09:46:46 +01:00
Alberto Berti
69e4e4934d
Allow the definition of extra options on commandline
...
I stumbled upon an issue with the Alertmanager that required
an additional comand line option. See https://groups.google.com/forum/#!msg/prometheus-users/-5wd-P13xCI/lGLBHHgnBgAJ
2018-09-04 23:19:26 +02:00
Graham Christensen
34d2ec7c09
nixos docs: give IDs to things
2018-09-01 16:20:49 -04:00
Jan Tojnar
f0136e4bc8
Merge pull request #45638 from aanderse/incron
...
incron: init at 0.5.12
2018-08-31 06:54:58 +01:00
Aaron Andersen
9b12db6928
changed from forking to simple as recommended by @aszlig
2018-08-31 03:03:04 +00:00
Aaron Andersen
d7d7533c18
changes as per requested by @aszlig
2018-08-31 02:52:49 +00:00
Aaron Andersen
7bc2a0dd64
removed quotes when not needed as suggested by @aszlig
2018-08-31 02:17:38 +00:00
Johannes Lötzsch
bb08d1c13f
nixos/zabbix: fix initial database creation ( #45750 )
...
without this fix the database setup fails with „could not connect to database postgres: FATAL: role "root" does not exist“
2018-08-30 08:25:13 +01:00
Aaron Andersen
d9943e6bba
added option to specify which packages are available to the system incrontab
...
recommendation by @jtojnar and @maurer
2018-08-29 00:43:28 +00:00
Aaron Andersen
3d1091eb5b
added a check to make sure a situation where a defined configuration wouldn't be unused as per recommended by @maurer
2018-08-28 23:50:55 +00:00
Tuomas Tynkkynen
69b4f427b6
nixos/zabbix-agent: Make the Zabbix package user-configurable
2018-08-28 17:43:12 +03:00
Aaron Andersen
b77f38c3cd
added a comment about the PATH variable under which incrontab commands will run
2018-08-27 21:31:55 +00:00
Aaron Andersen
7840d00532
clarified the descriptions of the allow and deny options
2018-08-27 21:15:03 +00:00
Aaron Andersen
fc1f33bc2c
fixed issue with system jobs
2018-08-27 15:23:19 +00:00
Aaron Andersen
fc03a9f5b7
initial work on incron service
2018-08-25 18:08:24 -04:00
Sarah Brofeldt
8f61e96c1e
nixos/datadog-agent: Fix type of use_dogstatsd ( #45587 )
2018-08-25 00:18:59 +02:00