Silvan Mosberger
2146511740
Merge pull request #54562 from pjones/pjones/netdata-plugins/master
...
nixos/netdata: Add option to include extra plugins
2019-01-28 19:56:24 +01:00
Peter Jones
0da9489c6a
nixos/netdata: Add option to include extra plugins
...
New option `extraPluginPaths' that allows users to supply additional
paths for netdata plugins. Very useful for when you want to use
custom collection scripts.
2019-01-28 09:02:47 -07:00
volth
b3c5e9ac1e
nixos/collectd: restart on failure
...
`collectd' might fail because of a failure in any of numerous plugins.
For example `virt' plugin sometimes fails if `collectd' is started before `libvirtd'
2019-01-26 00:31:32 +00:00
Silvan Mosberger
7222fd9e21
Merge pull request #53986 from Ma27/document-dovecot-prometheus-exporter-issues
...
nixos/prometheus-dovecot-exporter: enhance `socketPath` documentation
2019-01-24 00:17:20 +01:00
Maximilian Bosch
ca72dbd125
nixos/prometheus-dovecot-exporter: enhance socketPath
documentation
...
In Dovecot 2.3[1] the stats module changed and now the UNIX socket
provided by Dovecot by default isn't compatible anymore with the
exporter[2]. By enabling the `old-stats` plugin in Dovecot this issue
can be solved which should be documented in this module.
[1] https://wiki2.dovecot.org/Upgrading/2.3
[2] https://github.com/kumina/dovecot_exporter/issues/8
2019-01-23 23:51:48 +01:00
Maximilian Bosch
003132c2dd
nixos/prometheus: make source_labels
optional
...
It's possible to skip `source_labels` entirely, an example for this is
the blackbox exporter configuration:
https://github.com/prometheus/blackbox_exporter#prometheus-configuration
2019-01-16 14:01:43 +01:00
Silvan Mosberger
6a942aec5b
Merge pull request #52765 from Izorkin/datadog-agent
...
datadog-agent: 6.4.2 -> 6.8.3
2019-01-08 16:01:26 +01:00
Izorkin
47a8b13efa
datadog-agent: 6.4.2 -> 6.8.3
2019-01-08 11:16:44 +03:00
Jean-Philippe Braun
4f99f8d2cb
nixos/prometheus-bind-exporter: add module
2019-01-03 21:14:21 +01:00
WilliButz
60eff0eecb
nixos/grafana: use new default for connMaxLifetime
2018-12-05 20:49:45 +01:00
Pierre Bourdon
3873f43fc3
prometheus/exporters: fix regression in DynamicUser behavior
...
Instead of setting User/Group only when DynamicUser is disabled, the
previous version of the code set it only when it was enabled. This
caused services with DynamicUser enabled to actually run as nobody, and
services without DynamicUser enabled to run as root.
Regression from fbb7e0c82f
.
2018-12-05 11:26:38 +01:00
Pierre Bourdon
199b4c4743
prometheus/exporters/tor: make CPython happy by defining $HOME
2018-12-05 11:26:38 +01:00
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