aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/server/prometheus.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-04prometheus: fix configurationFranck Cuny1-3/+1
2022-04-04prometheus: we need to specify the IP protocolFranck Cuny1-1/+5
If we don't, by default we try over ipv6, and this is not going to work well for us (yet): ``` ts=2022-04-05T01:39:13.830414184Z caller=main.go:130 module=https_2xx target=https://notes.fcuny.net level=error msg="Error for HTTP request" err="Get \"https://[2a09:8280:1::a:2aed]\": dial tcp [2a09:8280:1::a:2aed]:443: connect: network is unreachable" ```
2022-04-04prometheus: I'll get this right this timeFranck Cuny1-5/+3
2022-04-04prometheus: set the scheme for the URLsFranck Cuny1-5/+5
2022-04-04prometheus: add scraper for HTTPFranck Cuny1-0/+28
2022-04-04prometheus: configure correctly the blackboxFranck Cuny1-10/+23
2022-04-04prometheus: attempt to configure blackbox exporterFranck Cuny1-0/+34
2022-03-26prometheus: stop scraping the NASFranck Cuny1-4/+2
we're shutting it down!
2022-03-13prometheus: scrape gitea metricsFranck Cuny1-0/+6
2022-03-11prometheus: scrap more endpointsFranck Cuny1-0/+30
2022-03-07backups: spread them so they don't clashFranck Cuny1-0/+1
If they start running at the same time, they won't be able to succeed since there's a global lock on the repository.
2022-03-07prometheus: backup the data directoryFranck Cuny1-0/+14
2022-03-06prometheus: scrap unifi poller on the correct IPFranck Cuny1-1/+1
2022-03-06prometheus: scrape from unifi-pollerFranck Cuny1-31/+40
2022-03-05prometheus: scrape nodeexporter for the rtrFranck Cuny1-15/+24
2022-03-02prometheus: relabel some machinesFranck Cuny1-12/+20
Don't use the IP from wireguard as the name of the host, let's map to the actual hostname.
2022-02-28prometheus: initial configuration for the serverFranck Cuny1-0/+29
Run prometheus via systemd, and configure to pull node-exporter's metrics from two hosts. The retention is set for 3 years.