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

nixos/servnerr-3: remove monitnerr-2 and switch-office02 from Prometheus

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2021-04-28 17:43:17 -04:00
parent f78a7aec07
commit 97931423a3
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94

View file

@ -116,7 +116,7 @@ in {
"routnerr-2:9162" "routnerr-2:9162"
"servnerr-3:9162" "servnerr-3:9162"
]) ])
(staticScrape "consrv" [ "monitnerr-1:9288" "monitnerr-2:9288" ]) (staticScrape "consrv" [ "monitnerr-1:9288" ])
(staticScrape "coredns" [ "routnerr-2:9153" ]) (staticScrape "coredns" [ "routnerr-2:9153" ])
(staticScrape "corerad" [ "routnerr-2:9430" "servnerr-3:9430" ]) (staticScrape "corerad" [ "routnerr-2:9430" "servnerr-3:9430" ])
(lib.mkMerge [ (lib.mkMerge [
@ -127,7 +127,6 @@ in {
# (staticScrape "modemmanager" [ "routnerr-2:9539" ]) # (staticScrape "modemmanager" [ "routnerr-2:9539" ])
(staticScrape "node" [ (staticScrape "node" [
"monitnerr-1:9100" "monitnerr-1:9100"
"monitnerr-2:9100"
"nerr-3:9100" "nerr-3:9100"
"routnerr-2:9100" "routnerr-2:9100"
"servnerr-3:9100" "servnerr-3:9100"
@ -163,7 +162,6 @@ in {
(staticScrape "snmp" [ (staticScrape "snmp" [
"switch-livingroom01" "switch-livingroom01"
"switch-office01" "switch-office01"
"switch-office02.ipv4"
"ap-livingroom02.ipv4" "ap-livingroom02.ipv4"
]) ])
{ {