1
0

Update from updated-inputs-2024-07-21-01-03

This commit is contained in:
Flake Update Bot 2024-07-21 03:03:05 +02:00
commit 4c1c87c828
6 changed files with 54 additions and 0 deletions

View File

@ -1,5 +1,25 @@
{
"nodes": {
"berlinerbaeder-exporter": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1720989581,
"narHash": "sha256-Mm4FU9Kh5C/vfTDGLpxcR24fXgSdcZXlmZfIoM1wjcg=",
"ref": "refs/heads/main",
"rev": "49e8db169c74ae7238b9eeba2a51b277dad9a1bf",
"revCount": 4,
"type": "git",
"url": "https://git.clerie.de/clerie/berlinerbaeder-exporter.git"
},
"original": {
"type": "git",
"url": "https://git.clerie.de/clerie/berlinerbaeder-exporter.git"
}
},
"bij": {
"inputs": {
"nixpkgs": [
@ -284,6 +304,7 @@
},
"root": {
"inputs": {
"berlinerbaeder-exporter": "berlinerbaeder-exporter",
"bij": "bij",
"chaosevents": "chaosevents",
"fernglas": "fernglas",

View File

@ -2,6 +2,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
berlinerbaeder-exporter = {
url = "git+https://git.clerie.de/clerie/berlinerbaeder-exporter.git";
inputs.nixpkgs.follows = "nixpkgs";
};
bij = {
url = "git+https://git.clerie.de/clerie/bij.git";
inputs.nixpkgs.follows = "nixpkgs";

View File

@ -1,4 +1,5 @@
{ self
, berlinerbaeder-exporter
, bij
, chaosevents
, harmonia
@ -6,6 +7,8 @@
, ...
}@inputs:
final: prev: {
inherit (berlinerbaeder-exporter.packages.${final.system})
berlinerbaeder-exporter;
inherit (bij.packages.${final.system})
bij;
inherit (chaosevents.packages.${final.system})

View File

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
systemd.services.berlinerbaeder-exporter = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
DynamicUser = true;
};
script = "berlinerbaeder-exporter --listen [::1]:57382";
path = with pkgs; [ berlinerbaeder-exporter ];
};
}

View File

@ -6,6 +6,7 @@
./hardware-configuration.nix
../../configuration/proxmox-vm
./alertmanager.nix
./berlinerbaeder-exporter.nix
./blackbox.nix
./grafana.nix
./nixos-validator.nix

View File

@ -407,6 +407,20 @@ in {
}
];
}
{
job_name = "berlinerbaeder-exporter";
scrape_interval = "5m";
static_configs = [
{
targets = [
"monitoring-3.mon.clerie.de:57382"
];
}
];
relabel_configs = [
relabelAddressToInstance
];
}
];
alertmanagers = [
{