Robert Schütz
336c114214
alerta: move to all-packages.nix and use buildPythonApplication
2021-02-28 12:25:52 +01:00
Robert Schütz
3fcd9361b5
alerta-server: move to all-packages.nix and use buildPythonApplication
2021-02-28 12:25:47 +01:00
Matthew Bauer
c168e05c7e
Merge pull request #86239 from tathougies/patch-2
...
[nixos/prometheus] promTypes.filter.value -> promTypes.filter.values
2021-02-26 19:28:18 -06:00
Chuck
83de9e2d12
prometheus-systemd-exporter: Init at 0.4.0
2021-02-18 09:56:45 -08:00
Louis Blin
458fafa8fc
nixos/prometheus-exporters/artifactory: init at 1.9.0
...
Adds a Prometheus exporter to scrape metrics from the API of JFrog
Artifactory instances.
2021-02-11 15:56:58 +00:00
Finn Behrens
92859ff489
nixos/prometheus-flow-exporter: init module
2021-02-10 14:29:05 +01:00
Logan Glasson
c6ec272c78
nixos/prometheus-nginx-exporter: only create service if nginx exporter is enabled
...
On a system with nginx enabled but the prometheus exporter not enabled,
the prometheus-nginx-exporter service should not be created.
2021-02-08 13:17:56 +13:00
Bas van Dijk
8ac4b251c8
nixos: use functionTo to prevent evaluation errors while merging
...
Without this patch merging options like
services.xserver.windowManager.xmonad.extraPackages
results in the evaluation error:
error: value is a list while a set was expected, at nixpkgs/lib/options.nix:77:23
With this patch we get the desired merging behaviour that just concatenates the
resulting package lists.
(cherry picked from commit 6e99f9fdec
)
Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
2021-01-24 17:18:37 +01:00
volth
bc0d605cf1
treewide: fix double quoted strings in meta.description
...
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Maximilian Bosch
2abfc93a68
nixos/grafana-image-renderer: typo fix
...
Since the service doesn't do a strict config check, this worked fine
before, however the settings in the block never applied properly.
2021-01-18 18:44:58 +01:00
WilliButz
254b510ce7
nixos/promtheus-nextcloud-exporter: update module and test
...
Use new command-line flags of release 0.3.0 and always answer with the
expected XML in the VM test instead of using a test-specific fixed path.
Co-authored-by: ajs124 <git@ajs124.de>
2021-01-17 15:25:18 +01:00
Phillip Cloud
cbe4de90af
nixos/prometheus: remove unnecessary whitespace
2021-01-10 13:09:47 -05:00
Phillip Cloud
53796fd70f
nixos/prometheus: improve the tag_separator description
2021-01-10 13:08:48 -05:00
Phillip Cloud
de96ffeb1c
nixos/prometheus: use types.port for metrics port type
2021-01-10 13:08:48 -05:00
Phillip Cloud
cad83fc596
nixos/prometheus: add cloud to refresh_interval description
2021-01-10 13:08:48 -05:00
Phillip Cloud
7958dbb8a7
nixos/prometheus: add gce_sd_configs scrapeConfig option
2021-01-10 13:08:47 -05:00
Maximilian Bosch
3b57908018
Merge pull request #108179 from WilliButz/update/prometheus-json-exporter/0.2.0
...
prometheus-json-exporter: unstable-2017-10-06 -> 0.2.0
2021-01-03 19:28:12 +01:00
Maximilian Bosch
6e43cc7fb0
nixos/prometheus-exporters: minor doc improvements
...
* Content of `programlisting` shouldn't be indented, otherwise it's
weirdly indented in the output.
* Use `<xref linkend=.../>` in the release notes: then users can
directly go to the option documentation when reading release notes.
* Don't use docbook tags in `mkRemovedOptionModule`: it's only used
during evaluation where docbook isn't rendered.
2021-01-03 19:04:33 +01:00
Phillip Cloud
287939e2ed
nixos/prometheus: update relabel_action list
2021-01-03 11:01:30 -05:00
WilliButz
3f94c66ee1
nixos/prometheus-json-exporter: update modules & tests, add release notes
2021-01-02 13:10:27 +01:00
WilliButz
5e9d92c839
Merge pull request #108142 from Ma27/grafana-img-renderer
...
grafana-image-renderer: init at 2020-12-01
2021-01-01 19:19:51 +01:00
Maximilian Bosch
ca2a67549d
nixos/grafana-image-renderer: init
2021-01-01 19:19:11 +01:00
WilliButz
0587d518db
Merge pull request #107891 from lukegb/smokeping-prober
...
prometheus-smokeping-prober: init at 0.3.1 from git
2021-01-01 16:08:20 +01:00
WilliButz
15c7a0eb18
Merge pull request #108067 from 0x4A6F/master-prometheus-service
...
nixos/prometheus: fix remote_{read,write} options
2021-01-01 16:04:06 +01:00
WilliButz
2b04b8817e
Merge pull request #108096 from lukegb/bird-exporter
...
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 16:03:37 +01:00
0x4A6F
06414886f1
nixos/prometheus: fix remote_{read,write} options
...
Fix and reorder options and use mkOpt for optional parameters,
according to official documentation.
2021-01-01 14:43:51 +00:00
Luke Granger-Brown
699e402705
prometheus-bird-exporter: init at 1.3.5-git
2021-01-01 04:43:59 +00:00
Luke Granger-Brown
d0a9e1ec83
nixos/grafana: add support for declarative plugin installation
2020-12-30 17:59:52 +00:00
Luke Granger-Brown
3297ac72f1
nixos/prometheus: add smokeping and corresponding NixOS test
2020-12-29 18:59:51 +00:00
0x4A6F
c53a0c16e4
nixos/prometheus: remote_{read,write}
...
- add [remote_write](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write ) and [remote_read](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_read ) support
Co-authored-by: Yorick van Pelt <yorickvanpelt@gmail.com>
2020-12-29 14:48:57 +00:00
Maximilian Güntner
65fd031277
nixos: add prometheus_nginxlog_exporter module + test
2020-12-21 21:23:39 +01:00
Matej Urbas
4970fbedbc
nixos/prometheus-exporters/py-air-control: invoke exporter command
...
Package `py-air-control exporter` v0.1.5 comes with a new CLI. This change uses the new CLI (which simplifies the exporter's systemd service setup).
2020-12-12 20:19:54 +00:00
Matej Urbas
4948743705
nixos/prometheus-exporters/py-air-control: init
2020-12-10 19:02:30 +00:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux
2020-11-24 12:42:06 -05:00
Jörg Thalheim
0f84e08fcd
nixos/telegraf: make example a bit more compact
2020-11-18 21:41:58 +01:00
Jörg Thalheim
69caedcc42
nixos/telegraf: null value for environmentFiles is invalid
...
it's also not needed given that empty list covers all use cases.
2020-11-18 21:41:55 +01:00
Jörg Thalheim
7534d92648
nixos/telegraf: allow multiple env files
2020-11-14 16:33:50 +01:00
Jörg Thalheim
8edc4619ab
nixos/telegraf: switch to setting types
...
This allows to split up configuration into multiple modules
2020-11-14 16:33:46 +01:00
Jörg Thalheim
157d7354d6
nixos/telegraf: add environmentFile option
2020-11-14 16:33:42 +01:00
Jörg Thalheim
9750813b89
nixos/telegraf: add support for native ping
2020-11-14 16:33:39 +01:00
Kevin Cox
5dee9b5699
Merge pull request #96679 from midchildan/add-mackerel
...
mackerel-agent: init at 0.69.3
2020-11-11 06:59:22 -05:00
Jörg Thalheim
4c64fa224e
nixos/loki: mergeable configuration
...
type.attrs is not mergable
2020-11-10 10:49:25 +01:00
Jörg Thalheim
689eb49d42
nixos/loki: add logcli to system path
...
Admins quite likely want to query loki for debugging purpose.
2020-11-10 10:49:21 +01:00
midchildan
921a66edc4
nixos/mackerel-agent: init
2020-11-07 13:37:33 +09:00
Maximilian Bosch
68726901e1
Merge pull request #94673 from justinas/prom-sql-exporter
...
prometheus-sql-exporter: init at 0.3.0
2020-11-06 17:00:47 +01:00
Justinas Stankevicius
d447c2413c
nixos/prometheus-sql-exporter: new module
2020-11-06 16:35:38 +01:00
Philipp Kern
ec6b0950ef
nixos/prometheus: Support environmentFile ( #97933 )
...
For the same reason Alertmanager supports environmentFile to pass
secrets along, it is useful to support the same for Prometheus'
configuration to store bearer tokens outside the Nix store.
2020-10-31 20:52:13 +01:00
lf-
b37bbca521
nixos/modules: fix systemd start rate-limits
...
These were broken since 2016:
f0367da7d1
since StartLimitIntervalSec got moved into [Unit] from [Service].
StartLimitBurst has also been moved accordingly, so let's fix that one
too.
NixOS systems have been producing logs such as:
/nix/store/wf98r55aszi1bkmln1lvdbp7znsfr70i-unit-caddy.service/caddy.service:31:
Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.
I have also removed some unnecessary duplication in units disabling
rate limiting since setting either interval or burst to zero disables it
(ad16158c10/src/basic/ratelimit.c (L16)
)
2020-10-31 01:35:56 -07:00
WilliButz
993437d0d6
Merge pull request #96511 from Zopieux/rtl_433_prom
...
Add rtl_433 Prometheus exporter
2020-10-23 23:24:38 +02:00
Alexandre Macabies
121bc17ab9
nixos/prometheus-rtl_433-exporter: new module
2020-10-23 20:33:42 +02:00
Florian Klink
8d52cf501f
nixos/datadog: Don't recommend dd_url for sites, add proper option
...
Turns out, `dd_url` should only be used in proxy scenarios, not to point
datadog to their EU endpoint - `site` should be used for that.
The `dd_url` setting doesn't affect APM, Logs or Live Process intake
which have their own "*_dd_url" settings.
2020-09-25 22:30:55 +02:00
Andreas Rammhold
bb33cdd44b
Merge pull request #98738 from mayflower/prometheus-retention
...
nixos/prometheus: add retentionTime
2020-09-25 17:11:27 +02:00
Robin Gloster
5c0a2e8c60
nixos/prometheus: add retentionTime
2020-09-25 13:44:13 +02:00
Kirill Elagin
a4afd525cb
prometheus: Unbreak IPv6 listenAddress
...
The format of the listenAddress option was recently changed to separate
the address and the port parts. There is now a legacy check that
tells users to update to the new format. This legacy check produces
a false positive on IPv6 addresses, since they contain colons.
Fix the regex to make it not match colons within IPv6 addresses.
2020-09-21 07:53:47 +02:00
Ryan Mulligan
16b94bf231
nixos/monit: add ryantm as maintainer
2020-09-18 22:09:22 -07:00
Ryan Mulligan
61863c5155
Revert "nixos/monit: Allow splitting the config in multiple files"
2020-09-18 21:57:54 -07:00
Florian Klink
2865a8867f
nixos/datadog: allow specifying dd_url ( #97775 )
...
Useful when you want to point datadog to another endpoint, either
because you need a proxy to send out data, or because you use their EU
endpoint.
2020-09-12 21:02:20 +02:00
Linus Heckemann
ef4e81d756
Merge pull request #96830 from mayflower/unifi-poller
...
unifi-poller: add service and prometheus-exporter
2020-09-08 09:53:07 +02:00
WilliButz
5d51096839
nixos/prometheus-exporters: fix default firewall filter
...
Instead of always using the default port of one exporter for its default
firewall filter, the port from the current service configuration is used.
2020-09-07 10:28:36 +02:00
elseym
aaf0002f68
prometheus-unifi-poller-exporter: init module
2020-09-06 17:48:19 +02:00
elseym
b381aacbba
nixos/unifi-poller: init unifi-poller service
2020-09-06 17:47:52 +02:00
Lassulus
bfd706923e
Merge pull request #87700 from serokell/mkaito/upstream/prometheus-port
...
prometheus: Split options listenAddress and port
2020-08-23 09:29:01 +02:00
Lassulus
2fb9ee9caa
Merge pull request #87553 from JoeDupuis/enhancing-monit-module
...
nixos/monit: Allow splitting the config in multiple files
2020-08-22 19:21:55 +02:00
Silvan Mosberger
f8e6745ad3
Merge pull request #82817 from pacien/smartd-fix-hostname-notifications
...
smartmontools: fix missing hostname in notifications
2020-08-22 16:09:14 +02:00
Aaron Andersen
f6a3403055
nixos/zabbix: use proper character set and collation for mysql database
2020-08-18 10:30:27 -04:00
pacien
ea37c9caa1
smartmontools: use standard subject in notification emails
...
This makes the notification script use the subject generated by smartmontools
itself both for consistency with other distros and to include the hostname.
2020-08-16 20:48:42 +02:00
pacien
f1922cdbdc
smartmontools: fix missing hostname in notifications
...
This properly registers some missing dependencies of smartd_warning.sh.
2020-08-16 20:48:03 +02:00
Izorkin
2f6a18af5a
nixos/netadata: enable simple sandboxing
2020-08-09 10:19:30 +03:00
Jörg Thalheim
ba930d8679
nixos/modules: remove trailing whitespace
...
This leads to ci failure otherwise if the file gets changed.
git-blame can ignore whitespace changes.
2020-08-07 14:45:39 +01:00
Jonathan Ringer
8d57f75f7a
nixos/smartd: fix description for docbook
2020-08-06 10:06:59 +10:00
tmplt
f9f48250fe
nixos/smartd: add option for notifiction email sender
2020-08-05 14:26:48 -07:00
Aaron Andersen
620e154921
Merge pull request #94043 from aanderse/zabbix-settings
...
nixos/zabbix*: replace extraConfig option with settings option
2020-08-04 12:49:43 -04:00
Aaron Andersen
7415ba0be8
nixos/zabbixProxy: replace extraConfig option with settings option
2020-07-28 08:11:33 -04:00
Aaron Andersen
b58e0905d0
nixos/zabbixAgent: replace extraConfig option with settings option
2020-07-27 22:09:25 -04:00
Aaron Andersen
3aa68faa78
nixos/zabbixServer: replace extraConfig option with settings option
2020-07-27 22:09:20 -04:00
Kirill Elagin
e1d80de838
prometheus: Add assert for legacy listenAddress
2020-07-23 18:16:13 -04:00
Kirill Elagin
5d2a465add
prometheus: Use types.port for port
2020-07-23 18:15:57 -04:00
Peter Hoeg
e0589ec65b
nixos/do-agent: use .service from upstream
2020-07-23 19:30:01 +08:00
Matt Layher
a58346a5ee
nixos/prometheus-modemmanager-exporter: new module
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-17 13:54:58 -04:00
Evils
73a90b0154
nixos/tuptime: change group/user to match upstream
2020-06-20 05:34:37 +02:00
Florian Klink
f5f8b08f16
Merge pull request #91065 from Infinisil/move-fontultimate
...
nixos/fontconfig: Move deprecated ultimate removals to relevant module
2020-06-19 00:07:46 +02:00
Silvan Mosberger
78453e6ba6
nixos/fontconfig: Move deprecated ultimate removals to relevant module
...
This was a mistake in https://github.com/NixOS/nixpkgs/pull/61570 , this
does not belong to prometheus
2020-06-18 23:12:18 +02:00
Sarah Brofeldt
344e64a4d9
nixos/prometheus-redis-exporter: init
2020-06-18 11:13:25 +02:00
Maximilian Bosch
6148b0e59f
Merge pull request #99079 from mayflower/openvpn-exporter-upstream
...
nixos/prometheus-exporters/openvpn: init
2020-09-30 15:37:03 +02:00
Linus Heckemann
a560936cab
nixos/prometheus-exporters/openvpn: init
...
Co-Authored-By: Franz Pletz <fpletz@fnordicwalking.de>
Co-Authored-By: Robin Gloster <mail@glob.in>
2020-09-29 10:53:04 +02:00
Linus Heckemann
2c1e72ee6a
prometheus exporters: always set user and group
...
systemd.exec(5) on DynamicUser:
> If a statically allocated user or group of the configured name
> already exists, it is used and no dynamic user/group is allocated.
Using DynamicUser while still setting a group name can be
useful for granting access to resources that can otherwise only be
accessed with entirely static IDs.
2020-09-29 10:53:04 +02:00
WilliButz
e736a990c1
Merge pull request #98746 from mayflower/postfix-exporter-group
...
prometheus postfix exporter: misc
2020-09-27 22:37:38 +02:00
Linus Heckemann
edcb73f6b5
nixos/prometheus/postfix: enable systemd by default
2020-09-25 14:29:16 +02:00
Linus Heckemann
e80fa27968
nixos/prometheus/postfix: correct default showqPath
2020-09-25 14:28:32 +02:00
WilliButz
f412df1f6b
nixos/prometheus-postfix-exporter: set default group
...
The postfix exporter needs to access postfix's `queue/public/` directory
to read the `showq` socket inside. Instead of making the public
directory world accessible, this sets the postfix exporter's group to
`postdrop` by default, when the postfix service is enabled.
2020-09-25 13:59:46 +02:00
Martin Milata
876bf3abc9
nixos/prometheus-lnd-exporter: init
2020-06-11 18:23:54 +02:00
WilliButz
3190ba12f7
Merge pull request #90077 from mdlayher/mdl-nixos-apcupsd
...
nixos/prometheus-apcupsd-exporter: new module
2020-06-11 15:23:33 +02:00
Matt Layher
e45146d94b
nixos/prometheus-apcupsd-exporter: new module
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-10 17:33:41 -04:00
Matt Layher
e77426822f
nixos/prometheus-keylight-exporter: new module
...
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-10 13:12:43 -04:00
Christian Höppner
ba3c3de8a6
prometheus: Split options listenAddress and port
...
Accessing the configured port of a service is quite useful, for example
when configuring virtual hosts for a service. The prometheus module did
not expose the configured por separately, making it unnecessarily
cumbersome to consume.
This is a breaking change only if you were setting `listenAddress` to
a non-standard value. If you were, you should now set `listenAddress`
and `port` separately.
2020-05-19 11:48:44 +01:00
Joe Dupuis
8f4070c4c6
nixos/monit: Allow splitting the config in multiple files
2020-05-10 17:53:50 -04:00
Travis Athougies
8389fb8f16
[nixos/prometheus] promTypes.filter.value -> promTypes.filter.values
...
The new configuration name for this is plural. Currently, attempting to enable ec2 SD results in a `promtool check config` error
2020-04-28 10:22:03 -07:00
zowoq
c59c4e3589
nixos/*: use $out instead of $bin with buildGoPackage
2020-04-28 20:30:29 +10:00
Arian van Putten
f332109ebf
nixos/datadog-agent: Fix restartTriggers
...
Fixes #85800
1d61efb7f1
accidentially changed the
restartTriggers of `datadog-agent.service` to point to the attribute
name (in this case, a location relative to `/etc`), instead of the
location of the config files in the nix store.
This caused datadog to not get restarted on activation of new
config, if the file name hasn't changed.
Fix this, by pointing this back to the location in the nix store.
2020-04-23 09:58:18 +02:00
Florian Klink
a88d17bc69
Merge pull request #83301 from evils/tuptime
...
Tuptime: Init Package, Module and Test
2020-04-19 23:38:53 +02:00