How ctera/ctera-monitoring-dashboard works
CTERA Monitoring Dashboard collects health and inventory data from CTERA Portal/filers and PostgreSQL-backed servers, writes CSV datasets, and presents them through a Flask dashboard. The documented runtime is scheduled collector jobs feeding the dashboard; users configure environments and view results in the web UI. The sampled dashboard source also shows CSV loading, threshold evaluation, and environment-management endpoints. README documents the overall scheduled-collection relationship, but the job scripts and several dashboard capabilities were not sampled, so their internal wiring is not expanded.
Main entry points: portal_jobs.sh Portal jobs · ctera_collect.py Portal and filer collector · ssh_collect_from_pg.py Server health collector · dashboard_csv.py Flask dashboard
Components 16
Data collection
- Portal and filer collector
ctera_collect.py - Server health collector
ssh_collect_from_pg.py - PostgreSQL health collector
pg_healthcheck.py - Tenant collector
pg_collect_tenants.py
Dashboard
- Flask dashboard
dashboard/dashboard_csv.py - CSV metric datasets
- Threshold evaluation
dashboard/dashboard_csv.py - Environment management
dashboard/dashboard_csv.py
Runtime operations
- Scheduled jobs
scheduler_jobs.sh - Portal jobs
portal_jobs.sh - Filer jobs
filer_jobs.sh
Monitored systems
- CTERA Portal
- Edge Filers
- MainDB PostgreSQL
- Linux servers
Other components
- Dashboard user
Connections 22
- Dashboard user → Flask dashboard: views dashboard
README.md - Scheduled jobs → Portal jobs: runs jobs
README.md - Scheduled jobs → Filer jobs: runs jobs
README.md - Portal jobs → Portal and filer collector: schedules collection
- Filer jobs → Portal and filer collector: schedules collection
- Portal and filer collector → CTERA Portal: collects metrics
README.md - Portal and filer collector → Edge Filers: collects metrics
README.md - Portal jobs → Server health collector: schedules collection
- Portal jobs → PostgreSQL health collector: schedules collection
- Portal jobs → Tenant collector: schedules collection
- Server health collector → MainDB PostgreSQL: queries inventory
README.md - Server health collector → Linux servers: collects health
README.md - PostgreSQL health collector → MainDB PostgreSQL: checks health
README.md - Tenant collector → MainDB PostgreSQL: reads tenants
README.md - Portal and filer collector → CSV metric datasets: writes datasets
README.md - Server health collector → CSV metric datasets: writes datasets
README.md - PostgreSQL health collector → CSV metric datasets: exports reports
pg_healthcheck.py - Tenant collector → CSV metric datasets: writes tenants
pg_collect_tenants.py - Flask dashboard → CSV metric datasets: reads datasets
dashboard/dashboard_csv.py - Flask dashboard → Threshold evaluation: evaluates rules
dashboard/dashboard_csv.py - Dashboard user → Environment management: configures environments
dashboard/dashboard_csv.py - Environment management → Flask dashboard: submits settings
dashboard/dashboard_csv.py