Pavol Rusnak
23f72abf0c
Merge pull request #308796 from 0xB10C/2024-05-promethues-bitcoin-exporter-expose-package
...
nixos/prometheus-bitcoin-exporter: expose package option
2024-05-03 23:09:17 +02:00
0xb10c
0c4215faf0
nixos/prometheus-bitcoin-exporter: expose package option
2024-05-03 15:23:36 +02:00
Pyrox
ae359d1ef2
nixos/prometheus/exporters: Remove all with lib;
usage
...
Fixes issues described in #208242 for this part of the nixpkgs tree.
There are no behavioral changes in this, it only adjusts the code so
that it is easier to understand.
2024-04-24 14:42:16 -04:00
Sandro
1166097197
Merge pull request #302375 from SebastianWendel/init-prometheus-dnssec-exporter
...
nixos/prometheus-dnssec-exporter: init
2024-04-17 21:48:59 +02:00
Christina Sørensen
1dcf30f141
nixos/prometheus-redis-exporter: allow AF_UNIX
...
Fixes : #271851
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-04-17 07:17:07 +02:00
Sandro Jäckel
de5b46c471
nixos/prometheus: use ports type
2024-04-14 00:32:23 +02:00
stuebinm
6afb255d97
nixos: remove all uses of lib.mdDoc
...
these changes were generated with nixq 0.0.2, by running
nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix
two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.
Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Sebastian Wendel
8737490803
nixos/prometheus.exporters.dnssec: init module
2024-04-12 12:23:47 +02:00
Jos van Bakel
2e10f813fe
nixos/prometheus-nats-exporter: new module
2024-04-10 17:12:49 +02:00
Maciej Krüger
598c71dac6
Merge pull request #222415 from justinas/prometheus-exporters-nftables
...
prometheus-exporters: support nftables
2024-04-03 01:28:20 +02:00
Janne Heß
fcc95ff817
treewide: Fix all Nix ASTs in all markdown files
...
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Janne Heß
bc77c7a973
treewide: Mark Nix blocks in markdown as Nix
...
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00
Marie Ramlow
88daab5195
nixos/prometheus-fritz-exporter: init module
2024-03-23 16:32:25 +01:00
Martin Weinelt
c77d192eb4
prometheus-kea-exporter: 0.6.1 -> 0.7.0
...
https://github.com/mweinelt/kea-exporter/blob/v0.7.0/HISTORY
Updates the module to use the target name, because it now supports both
UDS as well as HTTP URLs.
2024-03-21 06:17:59 +01:00
Martin Weinelt
d702c91302
nixos/prometheus/exporters: pass utils into exporter modules
...
This is useful, because it provides escapeSystemdShellArgs.
2024-03-21 05:27:21 +01:00
Franz Pletz
f05e5f3a51
Merge pull request #285807 from MinerSebas/prometheus-restic-exporter
...
prometheus-restic-exporter: 1.4.0 -> 1.5.0
2024-03-06 14:35:24 +01:00
Jon Seager
d0b85d47c6
Merge pull request #289863 from mjm/nut-exporter-variables
...
nixos/prometheus-nut-exporter: use extraFlags, add nutVariables option
2024-02-27 11:11:30 +00:00
Matt Moriarity
bbad81f937
nixos/prometheus-nut-exporter: use extraFlags, add nutVariables option
2024-02-18 15:55:09 -07:00
Martin Weinelt
a43d9cd69a
nixos/prometheus-fastly-exporter: fix runtime environment
...
- Make the token a required option
- Drop the proto from the listen parameter
- Use systemd credentials to pass the token file
- Drop debug flag, use extraArgs instead
- Actually hook up extraArgs
- Escape shell arguments
- Drop overly broad `with lib` statement
2024-02-09 02:24:48 +01:00
MinerSebas
de306fb3d6
nixos/prometheus-restic-exporter: Use LoadCredential for password file
2024-02-02 14:47:46 +01:00
MinerSebas
e7a2d8aa18
prometheus-restic-exporter: 1.4.0 -> 1.5.0
2024-02-02 14:47:43 +01:00
h7x4
932344b54a
Merge pull request #270475 from MinerSebas/prometheus-restic-exporter
...
prometheus-restic-exporter: init at 1.4.0
2024-02-01 20:05:11 +01:00
MinerSebas
d1f031cbbd
nixos/prometheus-restic-exporter: init module
2024-02-01 14:48:56 +01:00
Franz Pletz
9e485b2169
Merge pull request #284326 from WilliButz/snmp-exporter-module/fix-logPrefix
...
nixos/prometheus-snmp-exporter: fix undefined logPrefix
2024-01-31 19:55:40 +01:00
Mario Rodas
4006079f95
Merge pull request #276177 from aaronjheng/prometheus-openvpn-exporter
...
prometheus-openvpn-exporter: remove
2024-01-30 19:32:50 -05:00
WilliButz
3a00809390
nixos/prometheus-snmp-exporter: fix undefined logPrefix
...
When I added `coerceConfigFile` based on the blackbox exporter module, I
did not notice the missing attribute definition.
2024-01-27 20:59:41 +01:00
Aaron Jheng
096f6d6c00
prometheus-openvpn-exporter: remove
2024-01-26 14:37:05 +08:00
Kartik Gokte
dde72e969e
nixos/prometheus-pve-exporter: updated schema and options to v3.2.1
2024-01-23 11:19:37 +05:30
Jade Lovelace
fe474ed61a
nixos: fix remaining services for network-online dep fix
2024-01-19 00:11:34 -08:00
WilliButz
bb9c7762bc
nixos/prometheus-snmp-exporter: add config check
...
This is introduced and enabled by default because the config syntax for
the exporter changed with release 0.23.0.
This should make the breaking config change obvious before services are
deployed with an incompatible old config.
The check is based on the check present in the blackbox-exporter module.
2024-01-17 20:34:30 +01:00
WilliButz
a8ea9fe492
nixos/prometheus-snmp-exporter: switch to new config syntax
...
Introduced with version 0.23.0, see
b75fc6b839/auth-split-migration.md
2024-01-17 20:32:45 +01:00
Janik
6be9d4fc21
Merge pull request #266283 from Noodlesalat/ping-exporter-1.1.0
...
ping_exporter: init at 1.1.0
2023-12-31 20:50:30 +01:00
Martin Weinelt
d4c4e0269d
Merge pull request #274460 from mweinelt/kea-ipc-runtimedir
...
nixos/kea: return to merged runtime directory; preserve runtime directories
2023-12-27 02:08:14 +01:00
Dee Anzorge
b4b9b08426
nixos/prometheus-exporters/kea: run under same user/group as kea
...
This fixes access to the kea unix sockets, after enabling
RuntimeDirectoryPreserve on the kea units.
https://github.com/NixOS/nixpkgs/pull/274460#issuecomment-1869702893
2023-12-26 21:42:58 +01:00
Nudelsalat
5d85f0eee8
nixos/prometheus-ping-exporter: init
2023-12-24 18:11:25 +01:00
WilliButz
ac58b65cf5
Merge pull request #275112 from r-ryantm/auto-update/prometheus-nginx-exporter
...
prometheus-nginx-exporter: 0.11.0 -> 1.0.0
2023-12-20 20:27:28 +01:00
Franz Pletz
faff9de754
nixos/prometheus/nginx-exporter: fix args for 1.0
2023-12-20 18:23:29 +01:00
Fugi
6430b7a181
nixos/prometheus-sabnzbd-exporter: use LoadCredential for apiKeyFile
2023-12-18 14:48:49 +01:00
Martin Weinelt
cd6ccb1737
Revert "kea: use separate runtime directories for each service"
...
This reverts commit 413011ddf4
.
Using separate lockfile directories prevents the different kea daemons
from using the interprocess sync lockfile.
Keeping the runtime directory around might be the better approach.
2023-12-15 13:51:19 +01:00
Janne Heß
6ad3977ec9
Merge pull request #253184 from tilpner/prometheus-headers
...
nixos/prometheus: add remote{Read, Write}.headers options
2023-12-13 21:53:52 +01:00
Victor Hugo Aguiar Pacce
5c6c35d0f8
nixos/prometheus: add enableAgentMode option
...
Required for running a prometheus service under agent mode
Signed-off-by: Victor Hugo Aguiar Pacce <victorhugoaguiarpacce@gmail.com>
2023-12-05 11:24:04 -03:00
undefined
3c4370ca2f
prometheus-mongodb-exporter: fix service ExecStart
2023-12-03 17:54:21 +08:00
h7x4
79d3d59f58
treewide: replace mkPackageOptionMD
with mkPackageOption
2023-11-30 19:03:14 +01:00
h7x4
0a37316d6c
treewide: use mkPackageOption
...
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
Nick Cao
0840c28c43
Merge pull request #268991 from undefined-moe/mongodb-exporter
...
add prometheus-mongodb-exporter
2023-11-22 09:29:50 -05:00
undefined
b46ec2c40f
nixos/prometheus-mongodb-exporter: init module
2023-11-22 09:42:27 +08:00
Felix Buehler
4d1680ccc7
nixos/exportarr: init
2023-11-07 20:56:32 +01:00
chayleaf
413011ddf4
kea: use separate runtime directories for each service
...
Kea may clean the runtime directory when starting (or maybe systemd does
it). I ran into this issue when restarting Kea after changing its
configuration, so I think the fact it normally doesn't clean it is a
race condition (it's cleaned on service start, and normally all Kea
services start at roughly the same time).
2023-10-26 02:51:43 +07:00
Martin Weinelt
589ccfdac1
nixos/prometheus-exporters/knot: update for new exporter
...
The new exporter has proper console scripts definition, that sets up
another executable name.
The package now also shells out to pidof, which is why we require procps
in the unit PATH.
2023-10-23 13:19:52 +02:00
Bjørn Forsman
142074c2a8
nixos: fix bad mkEnableOption descriptions
...
Fix descriptions that don't account for (1) the "Whether to enable"
prefix or (2) the automatically added trailing dot.
2023-10-20 16:22:40 +01:00