1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-15 17:50:54 +00:00
Commit graph

141 commits

Author SHA1 Message Date
Matt Layher
4b2264de92
nixos/servnerr-3: add lab-corerad job, move existing alerts to prod job
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-03 11:37:40 -04:00
Matt Layher
50da252eef nixos/routnerr-2: skip production CoreRAD advertising on lab0 2020-06-03 11:23:22 -04:00
Matt Layher
3afeb76861 nixos/servnerr-3: fix Prometheus alert label 2020-06-01 14:32:10 -04:00
Matt Layher
4b61d093e6 nixos/servnerr-3: nixfmt Prometheus alerts 2020-06-01 14:11:04 -04:00
Matt Layher
763be23fcf
nixos/servnerr-3: add CoreRAD upstream monitoring alerts
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-01 14:10:17 -04:00
Matt Layher
b643fb4351
nixos/servnerr-3: fix Prometheus CoreRAD advertising interface status alert
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-31 20:21:24 -04:00
Matt Layher
5b50c2bb73
nixos/routnerr-2: nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:15:06 -04:00
Matt Layher
1c86195c61
nixos/lib/vargen: template out WireGuard configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:13:43 -04:00
Matt Layher
d7121b4df9 nixos/lib/vargen: WIP WireGuard support
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:02:21 -04:00
Matt Layher
d084bd881e Merge branch 'master' of github:mdlayher/homelab 2020-05-29 17:01:29 -04:00
Matt Layher
5879e84479
nixos/lib/vargen: move switch-office02 to management LAN
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:01:26 -04:00
Matt Layher
6d343cab9d
nixos/lib/vargen: infer server and WAN addresses automatically
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 16:22:40 -04:00
Matt Layher
e39cbef56a
nixos/lib: move nerr-3 to 10GbE VLAN
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 12:17:31 -04:00
Matt Layher
56a49c51e6
nixos: move servnerr-3 to 10GbE LAN, prioritize 10GbE LAN in RAs
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 11:52:19 -04:00
Matt Layher
6760123bde
nixos/servnerr-3: bump keylight_exporter, 15s Prometheus scrape interval
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-28 16:49:03 -04:00
Matt Layher
21590239df
nixos/servnerr-3: enable 10GbE NIC
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-28 13:35:32 -04:00
Matt Layher
539e385af2 nixos/lib: add keylight_exporter, install on servnerr-3 2020-05-28 12:29:19 -04:00
Matt Layher
802b2a7884 nixos/lib/vargen: add Elgato Key Light 2020-05-25 20:37:53 -04:00
Matt Layher
73d7921b2a nixos/servnerr-3: scrape switch-office02 SNMP 2020-05-25 20:31:19 -04:00
Matt Layher
a9368c0787 nixos/lib/vargen: add 10GbE switch 2020-05-25 20:14:53 -04:00
Matt Layher
3089041870 nixos/routnerr-2: fix tengb0 DHCPv6-PD ID 2020-05-25 20:11:54 -04:00
Matt Layher
30a0ecd88a
nixos/lib/vargen: new convention for VLAN >= 100
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-24 13:09:13 -04:00
Matt Layher
1cbb0f37b1
nixos/lib/vargen: add newSubnet helper
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-24 13:00:51 -04:00
Matt Layher
78154188a6
nixos/lib/vargen: remove ipv6Prefixes.MarshalJSON
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-24 12:44:29 -04:00
Matt Layher
d65445d858
lib/vargen: new location for eui64 package
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-24 12:41:15 -04:00
Matt Layher
ba2b575b5f nixos/servnerr-3: nixfmt 2020-05-24 12:31:15 -04:00
Matt Layher
9746f3547b
nixos/routnerr-2: add tengb0 on VLAN 100
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-24 12:30:08 -04:00
Matt Layher
48c0c7c164
nixos/routnerr-2: add cmatrix
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-24 11:38:54 -04:00
Matt Layher
0488182975
nixos/routnerr-2: add lan0 VLAN for trusted devices
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-24 10:20:45 -04:00
Matt Layher
58fde819f1
nixos/servnerr-3: fix relabelTarget logic
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-21 11:15:10 -04:00
Matt Layher
b4dc963d4f
nixos/servnerr-3: add Prometheus alerts, force IPv4 AP SNMP scrape
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-19 18:35:41 -04:00
Matt Layher
322b7046bc nixos: apply nixfmt 2020-05-19 08:51:49 -04:00
Matt Layher
e2f8d0edfa nixos/routnerr-2: add promlens traefik backend 2020-05-19 08:51:13 -04:00
Matt Layher
b3465798da nixos/servnerr-3: deploy promlens docker container 2020-05-19 08:37:42 -04:00
Matt Layher
b1ee541b9e Merge branch 'master' of github:mdlayher/homelab 2020-05-17 21:07:00 -04:00
Matt Layher
2ee80b1851 nixos/lib: add smartmontools and xxd 2020-05-17 21:06:48 -04:00
Matt Layher
66eec3e3af nixos/servnerr-3: nixfmt prometheus config 2020-05-17 21:06:35 -04:00
Matt Layher
3dc8dcea3e nixos/servnerr-3: use latest Linux kernel for better hwmon, modprobe drivetemp 2020-05-17 21:06:22 -04:00
Matt Layher
b459b61a05
nixos/lib/vargen: bump inet.af/netaddr, use new API
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-12 10:53:49 -04:00
Matt Layher
29eeb10344 nixos/servnerr-3: set ondemand CPU governor 2020-05-08 21:44:10 -04:00
Matt Layher
d476856acc nixos/servnerr-3: add obs Prometheus job 2020-05-08 12:47:44 -04:00
Matt Layher
d764c73b7d nixos/servnerr-3: retain Prometheus data for one year 2020-05-08 12:06:47 -04:00
Matt Layher
bfc2131052 nixos/servnerr-3: disable fwupd, no benefit and long compiles 2020-05-06 10:55:32 -04:00
Matt Layher
db06cce96c lib/pkgs: bump wireguard_exporter 2020-05-01 11:04:08 -04:00
Matt Layher
83562806fe Merge branch 'master' of github:mdlayher/homelab 2020-04-30 18:42:18 -04:00
Matt Layher
c446d6cce5 nixos/routnerr-2: enable wireguard_exporter 2020-04-30 18:42:04 -04:00
Matt Layher
6fdca2b235 lib: add wireguard_exporter package and module 2020-04-30 18:41:46 -04:00
Matt Layher
3ffadae769 nixos/servnerr-3: scrape wireguard exporter on router 2020-04-30 16:01:39 -04:00
Matt Layher
5d3b50d2a9 nixos/servnerr-3: hardcode NFS subnets again for now 2020-04-30 16:01:11 -04:00
Matt Layher
ca255a3a4e nixos/routnerr-2: add nerr-3 WireGuard peer 2020-04-30 15:13:42 -04:00