mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/servnerr-3: remove Prometheus scrape for netlify, old AP
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
bc51c6af87
commit
aa7ec1258a
1 changed files with 6 additions and 9 deletions
|
@ -147,10 +147,11 @@ in {
|
|||
"https://grafana.servnerr.com"
|
||||
])
|
||||
# Netlify can occasionally be flappy, so check it less often.
|
||||
(blackboxScrapeJobName "http_2xx_netlify" "http_2xx" "1m" [
|
||||
"https://corerad.net/status"
|
||||
"https://mdlayher.com/status"
|
||||
])
|
||||
# TODO(mdlayher): Netlify may be throttling us, enable later at lower intervals.
|
||||
# (blackboxScrapeJobName "http_2xx_netlify" "http_2xx" "3m" [
|
||||
# "https://corerad.net/status"
|
||||
# "https://mdlayher.com/status"
|
||||
# ])
|
||||
(blackboxScrape "http_401" "15s" [
|
||||
"https://alertmanager.servnerr.com"
|
||||
"https://plex.servnerr.com"
|
||||
|
@ -167,11 +168,7 @@ in {
|
|||
# SNMP relabeling configuration required to properly replace the instance
|
||||
# names and query the correct devices.
|
||||
(lib.mkMerge [
|
||||
(staticScrape "snmp" [
|
||||
"switch-livingroom01"
|
||||
"switch-office01"
|
||||
"ap-livingroom02.ipv4"
|
||||
])
|
||||
(staticScrape "snmp" [ "switch-livingroom01" "switch-office01" ])
|
||||
{
|
||||
metrics_path = "/snmp";
|
||||
params = { module = [ "if_mib" ]; };
|
||||
|
|
Loading…
Reference in a new issue