mirror of
git://f0xx.org/ac/ac-deploy
synced 2026-07-29 02:57:38 +03:00
fix(monitoring): drop deprecated artc0 from cast04 scrape targets
artc0 VM is off; remove node_exporter target and relabel rules from Prometheus. Point Grafana auth-proxy whitelist and alert-notifier shortener API at cast01–03 cluster instead of 10.7.16.128. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -14,8 +14,7 @@
|
||||
| cast04 | 10.7.16.239 | Monitoring host | Prometheus + Grafana + Alertmanager + blackbox + node |
|
||||
| cast01 | 10.7.16.236 | App + Gitea + PostgreSQL | node + postgres_exporter |
|
||||
| cast02 | 10.7.16.237 | App | node_exporter |
|
||||
| cast03 | 10.7.16.238 | App | node_exporter |
|
||||
| artc0 | 10.7.16.128 | BE + MariaDB + Docker | node + mysqld_exporter (Docker) |
|
||||
| cast03 | 10.7.16.238 | App + MariaDB replica | node_exporter |
|
||||
|
||||
## Access
|
||||
|
||||
@@ -37,13 +36,12 @@
|
||||
| `/var/lib/grafana/provisioning/` | Auto-provisioned datasource + dashboards dir |
|
||||
| `/etc/conf.d/grafana` | Grafana runtime overrides (bind address, provisioning path) |
|
||||
|
||||
## Config files (on artc0/BE)
|
||||
## Config files (on cast01–03 BE)
|
||||
|
||||
| File | Purpose |
|
||||
|------|---------|
|
||||
| `/etc/nginx/conf.d/apps.conf` | BE nginx — includes monitoring proxy location |
|
||||
| `/var/www/.../api/grafana-auth-check.php` | PHP session → X-WEBAUTH-USER auth bridge |
|
||||
| `/etc/mysqld-exporter.cnf` | MariaDB exporter credentials |
|
||||
| `/etc/nginx/conf.d/androidcast.conf` | BE nginx — Grafana/Alertmanager proxy + auth_request |
|
||||
| `/var/www/ac/composed/backend/public/api/grafana-auth-check.php` | PHP session → X-WEBAUTH-USER auth bridge |
|
||||
|
||||
## Services management (cast04)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user