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

208 commits

Author SHA1 Message Date
Matt Layher
0f43f40131
nixos: fix nix-linter issues
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:22:48 -04:00
Matt Layher
6069a07d97
nixos/servnerr-3: Prometheus scrape both netlify websites
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:18:17 -04:00
Matt Layher
8d4663e571
nixos/servnerr-3: fix up CoreRAD alerting
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:13:42 -04:00
Matt Layher
da4e7207dc
nixos/servnerr-3: only alert on UPS time left if on battery
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 18:19:21 -04:00
Matt Layher
6f09861ce6
nixos/servnerr-3: apcupsd alerts, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 17:16:34 -04:00
Matt Layher
518932c242
nixos/lib: collapse nix and users config into system
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 17:03:15 -04:00
Matt Layher
25dbff15c6
nixos/lib: move node_exporter into system.nix
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 16:59:43 -04:00
Matt Layher
d5e25fe6ea
nixos/servnerr-3: adjust CoreRAD alerting for running multiple instances
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 16:45:05 -04:00
Matt Layher
8d5e05a3a1
nixos/servnerr-3: deploy CoreRAD in monitor mode
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 16:23:35 -04:00
Matt Layher
0a6ea760ec
nixos/servnerr-3: add consrv Prometheus targets
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 14:56:11 -04:00
Matt Layher
f4b05aa892
nixos/routnerr-2: only allow management/10GbE LANs to LTE
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 11:10:42 -04:00
Matt Layher
0bd9c7077e
nixos/routnerr-2: initial multi-WAN firewall configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 10:22:16 -04:00
Matt Layher
63dde90aa3
nixos/routnerr-2: allow NM/MM to coexist with dhcpcd
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 10:12:59 -04:00
Matt Layher
d0581f74d6
nixos/servnerr-3: add monitnerr-2 Prometheus node scrape
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-02 13:53:36 -04:00
Matt Layher
363ad2ba4f
nixos/lib: add host monitnerr-2
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-02 13:53:05 -04:00
Matt Layher
12e95367a2
nixos/servnerr-3: re-enable node monitoring on monitnerr-1
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-27 15:53:21 -04:00
Matt Layher
7d136fdc3f
nixos/routnerr-2: move toward managing modem with NM/MM
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-26 09:50:53 -04:00
Matt Layher
382896a21b
nixos/servnerr-3: remove monitnerr-1 Prometheus targets
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-25 17:55:33 -04:00
Matt Layher
b8f8cb5648
nixos/servnerr-3: set kernel 5.6 for ZFS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-25 17:55:22 -04:00
Matt Layher
325f564434
nixos/lib: remove noXlibs due to strange problems
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-25 17:55:04 -04:00
Matt Layher
396004a3b5
nixos/lib: add pkg-config
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-24 14:06:57 -04:00
Matt Layher
8b8ac0e2e5
nixos/lib: incorporate mbim-network feedback
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-24 09:55:03 -04:00
Matt Layher
32e6b5631f
nixos/lib: new module for mbim-network
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-23 14:37:43 -04:00
Matt Layher
42c5244477
nixos/lib: renumber tengb0 to VLAN 110 format
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-22 22:15:44 -04:00
Matt Layher
d93398076f
nixos/routnerr-2: WIP WWAN configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-22 21:59:48 -04:00
Matt Layher
6c039ebd2e
nixos/lib: add matt to dialout group
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-22 21:24:13 -04:00
Matt Layher
eb9f64a8a5 Merge branch 'master' of github:mdlayher/homelab 2020-06-19 08:44:22 -04:00
Matt Layher
6e19742bac nixos/routnerr-2: add WWAN utilities, add minicom and unzip to lib 2020-06-19 08:44:04 -04:00
Matt Layher
9cb3778c03
nixos/servnerr-3: exclude HTPC from alerting
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-15 13:47:31 -04:00
Matt Layher
4fd972566a
nixos/servnerr-3: scrape theatnerr-1 windows_exporter
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-15 13:46:15 -04:00
Matt Layher
f97f63b8dd
nixos/lib: add theatnerr-1 host
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-15 13:41:58 -04:00
Matt Layher
693cca1e86
nix/routnerr-2: deduplicate dhcpd6 LANs list
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 14:58:19 -04:00
Matt Layher
4895bcd5fc
nix/routnerr-2: deduplicate dhcpd4 LANs list
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 14:55:25 -04:00
Matt Layher
f966896464
nixos/lib: add corp0 VLAN and configure on router
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 14:51:12 -04:00
Matt Layher
7c721af156
nixos/routnerr-2: use settings attribute list to configure CoreRAD
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 13:53:48 -04:00
Matt Layher
0aa6b16a9a
nixos/routnerr-2: explicitly import nixos-unstable-small
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 10:57:09 -04:00
Matt Layher
88904bc3ad
nixos/servnerr-3: explicitly import nixos-unstable-small
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 10:49:54 -04:00
Matt Layher
0d69c26839 nixos/servnerr-3: enable Prometheus admin API 2020-06-13 10:13:14 -04:00
Matt Layher
91b1d8b9d5
nixos/servnerr-3: upgrade to unstable Prometheus
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:43:23 -04:00
Matt Layher
f4ccb52e68
nixos/servnerr-3: move /var/lib/plex inside container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:29:50 -04:00
Matt Layher
e267fa1689
nixos/servnerr-3: bump SNMP exporter configuration to 0.18.0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:25:31 -04:00
Matt Layher
3467b63d52
nixos/servnerr-3: factor out Prometheus alerts, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:15:44 -04:00
Matt Layher
0b492dc489
nixos/servnerr-3: move containers into a new file
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:59:06 -04:00
Matt Layher
fa5d3beb81
nixos/servnerr-3: move Plex into a NixOS container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:55:58 -04:00
Matt Layher
d08e8f2584
nixos/routnerr-2: add apcupsd_exporter
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:41:23 -04:00
Matt Layher
c3182c889f
nixos/routnerr-2: change iot0 prefix delegation ID to standard number
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:38:06 -04:00
Matt Layher
2e84c66b8d
nixos/servnerr-3: enable and scrape apcupsd_exporter on server and router
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:34:48 -04:00
Matt Layher
cacf9fb68f
nixos/servnerr-3: keylight_exporter is now upstream
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:31:49 -04:00
Matt Layher
bacf50eb61
nixos/servnerr-3: factor out staticScrape Prometheus function
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:07:16 -04:00
Matt Layher
14477541a5
nixos/servnerr-3: convert blackbox_exporter config to Nix, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 17:54:29 -04:00