mon-test/README.md
2024-12-10 13:07:23 +01:00

654 B

cyber-gov backend?

Simple Prometheus setup for monitoring websites, with blackbox-exporter and Grafana.

Testing data source for target discovery is located in branch pages and is served on https://mdivecky.nolog.page/mon-test/targets.json

Setup

mkdir -p ./data/prometheus
mkdir -p ./data/grafana
chown -R 1000:1000 ./data/*
# Or switch to docker volumes for prometheus and Grafana, if you don't want to deal with permissions

docker compose up -d 

# -> Goto http://localhost:3000
# Login to Grafana with admin:admin
# Add Prometheus datasource, with URL "http://prometheus:9090"
# Import or create some dashboards
# Profit $$$