1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00
Commit graph

357 commits

Author SHA1 Message Date
Matt Layher
3ee5482969
nixos/lib/vargen: change internal_domain to internal_dns
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 17:37:26 -05:00
Matt Layher
2c40c7faab
nixos/lib/vargen: fetch IPv6 /56 dynamically
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 17:06:32 -05:00
Matt Layher
2b4b722e5b
nixos/lib/vargen: bump go.mod
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 16:40:02 -05:00
Matt Layher
5db54d8a21
nixos/routnerr-2: use Linux 5.10 LTS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-27 16:58:50 -05:00
Matt Layher
093e928ff0
nixos/servnerr-3: use Linux 5.10 LTS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-27 16:52:08 -05:00
Matt Layher
dab95ab094
nixos/lib/vargen: update IPv6 prefix
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-17 14:34:59 -05:00
Matt Layher
7a86ba4539
nixos/routnerr-2: remove corp0 VLAN
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-17 09:09:35 -05:00
Matt Layher
8cead6ffbf nixos/lib: new Charter /56 2020-12-09 17:20:01 -05:00
Matt Layher
6d00b8f8ea nixos/servnerr-3: broaden IPv6 prefix alerting to Charter /40 2020-12-09 17:08:15 -05:00
Matt Layher
5f167d0cf5
nixos/routnerr-2: remove Minecraft firewall rules
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-19 19:19:55 -05:00
Matt Layher
262dde0190
nixos/servnerr-3: remove Minecraft
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-19 19:16:01 -05:00
Matt Layher
fea40ca219
nixos/servnerr-3: Minecraft user list tweaks
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-12 10:07:03 -05:00
Matt Layher
954a43d6e1
nixos/servnerr-3: adjust Minecraft users
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-11 14:20:22 -05:00
Matt Layher
85b6f1e2cd
nixos/routnerr-2: allow Minecraft through firewall
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-02 15:11:14 -05:00
Matt Layher
d704aa65ae
nixos/servnerr-3: add more Minecraft users
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-02 15:09:14 -05:00
Matt Layher
ac19433592
nixos/servnerr-3: add more Minecraft users
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-01 16:43:36 -05:00
Matt Layher
df996479dd
servnerr-3: start a Minecraft server container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-01 12:33:51 -05:00
Matt Layher
6e1f77ccd9
nixos/routnerr-2: migrate to traefik 2 configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-28 12:31:18 -04:00
Matt Layher
246718e8d2
nixos/routnerr-2: first pass at NixOS 20.09 upgrade
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-27 17:02:48 -04:00
Matt Layher
558db6defe
nixos/servnerr-3: replace docker with podman, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-27 16:17:18 -04:00
Matt Layher
1d49df371e
nixos/servnerr-3: upgrade to NixOS 20.09
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-27 16:09:54 -04:00
Matt Layher
4d3010b77d
nixos/servnerr-3: temporarily remove modemmanager exporter Prometheus target
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-12 11:14:27 -04:00
Matt Layher
1ff25822be
nixos/lib: update WAN IPv4
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-09-22 16:42:34 -04:00
Matt Layher
7608f489db
nixos/servnerr-3: install and run gpg-agent
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-09-02 11:36:42 -04:00
Matt Layher
ff602fa5f8
nixos/routnerr-2: remove CoreRAD managed flag
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-27 15:10:39 -04:00
Matt Layher
f479ed6088
nixos/routnerr-2: remove unused configurations
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-27 15:09:32 -04:00
Matt Layher
64ecca6702 nixos: nixfmt 2020-08-27 11:31:53 -04:00
Matt Layher
34a4a910a9
nixos/lib: install comma on all machines
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-18 12:59:49 -04:00
Matt Layher
5468c23b4f
nixos/servnerr-3: update IPv6 prefix alerting
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-17 13:58:40 -04:00
Matt Layher
f80f0b5742
nixos/lib/vargen: update for new addressing
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-17 12:21:26 -04:00
Matt Layher
d20e529556
nixos/routnerr-2: disable miniupnpd, re-enable auto updates
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-17 12:12:40 -04:00
Matt Layher
79d5fe7182
nixos/routnerr-2: enable stable CoreRAD on lab0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-07 15:57:07 -04:00
Matt Layher
ca715ac54f
nixos/servnerr-3: remove CoreRAD br0 lab VLAN monitoring
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-07 15:30:17 -04:00
Matt Layher
57f83848e1
nixos/routnerr-2: temporarily enable miniupnpd
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-29 12:52:27 -04:00
Matt Layher
17a396a2f8 nixos/servnerr-3: rename interface, add lsscsi 2020-07-25 22:48:25 -04:00
Matt Layher
f71c1b86d2 nixos/servnerr-3: enable systemd watchdog 2020-07-23 09:46:43 -04:00
Matt Layher
cf87be70e4 nixos/routnerr-2: switch to upstream MM exporter 2020-07-22 12:55:40 -04:00
Matt Layher
4a146d24c3 nixos/lib/vargen: fix IPv6 subnet logic 2020-07-22 12:15:01 -04:00
Matt Layher
966e872f8d nixos/routnerr-2: open consrv port, disable rtp6 2020-07-20 12:16:46 -04:00
Matt Layher
c6fc68d271 nixos/routnerr-2: remove IPv6 LLA in favor of OS assigned 2020-07-20 12:16:21 -04:00
Matt Layher
1b331a1fa5 nixos/servnerr-3: modify CoreRAD monitor alerts to be less noisy 2020-07-20 10:06:44 -04:00
Matt Layher
200f00e5e3 nixos/servnerr-3: scrape modemmanager_exporter 2020-07-20 10:06:10 -04:00
Matt Layher
ea1b14bff8
nixos/lib: temporary out-of-tree package/module for modemmanager_exporter
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-16 13:53:30 -04:00
Matt Layher
32c7e00e6d
nixos/lib: add matt to networkmanager group
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-15 12:03:20 -04:00
Matt Layher
9622b6391a
nixos/routnerr-2: nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-14 14:35:52 -04:00
Matt Layher
9e1d7d86fe
nixos/lib: install nmon
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-09 14:20:44 -04:00
Matt Layher
c810559f18 Merge branch 'master' of github:mdlayher/homelab 2020-07-08 20:19:02 -04:00
Matt Layher
e5e0fff85a nixo/routnerr-2: enable systemd watchdog 2020-07-08 20:18:46 -04:00
Matt Layher
f2c66e7942
nixos/routnerr-2: remove unused nftables ports
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:57:24 -04:00
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
Matt Layher
686cfcca6a Merge branch 'master' of github:mdlayher/homelab 2020-06-12 16:59:13 -04:00
Matt Layher
d3822057d3 nixos/lib: add gnumake 2020-06-12 16:59:09 -04:00
Matt Layher
d280009d02
nixos/servnerr-3: remove unifi SSH blackbox target
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 16:10:39 -04:00
Matt Layher
61c693252c
nixos/routnerr-2: CoreDNS no longer depends on wg0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-11 14:16:44 -04:00
Matt Layher
a997598aae Merge branch 'master' of github:mdlayher/homelab 2020-06-11 14:13:42 -04:00
Matt Layher
29d5ad0ff6
nixos/routnerr-2: add nftables to allow connections from remote UniFi devices
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-11 14:05:57 -04:00
Matt Layher
6af56202db
nixos/servnerr-3: run UniFi controller in container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-10 16:34:37 -04:00
Matt Layher
80ba4ddd83
nixo/routnerr-2: do not advertise MTU on tengb0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-09 12:10:45 -04:00
Matt Layher
a438cd8405
nixos/servnerr-3: scrape apcupsd_exporter on nerr-3
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-08 09:37:52 -04:00
Matt Layher
57dec8fff9 nixos/servnerr-3: use MTU 9000 on 10GbE NIC 2020-06-07 11:02:58 -04:00
Matt Layher
0995678346
nixos/routnerr-2: set up CoreRAD upstream monitoring on wan0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-07 11:01:33 -04:00
Matt Layher
1268d52557
nixos/servnerr-3: remove promlens shared links argument
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 13:53:21 -04:00
Matt Layher
479420fcdc nixos/routnerr-2: move alertmanager traefik backend 2020-06-06 12:18:01 -04:00
Matt Layher
beb1f99abf
nixos/servnerr-3: move Prometheus to server from Raspberry Pi
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 12:15:40 -04:00
Matt Layher
925462f4e1
nixos/servnerr-3: add /primary/vm ZFS filesystem
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 11:42:33 -04:00
Matt Layher
ead678a51f
nixos/routnerr-2: expose desktop IPv6 RTP through firewall
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 11:29:32 -04:00
Matt Layher
9d93b8c070 nixos/lib: install bandwhich 2020-06-06 10:04:44 -04:00
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