Install RBT: Prometheus
The optional Prometheus stack collects infrastructure and RBT-specific metrics for dashboards and alerting. The upstream procedure is still incomplete, so treat this page as integration guidance rather than a production-ready runbook.
This page is one step in the complete RBT installation guide.
Before you start
- Define which services, intercoms and external endpoints require monitoring.
- Generate a unique service-discovery token and store it as a secret.
- Restrict Prometheus and exporter endpoints to the monitoring network.
Expected result
Prometheus should discover the configured RBT targets and collect metrics without exposing monitoring credentials or endpoints to untrusted networks.
OPTIONAL feature
in progress
Prometheus stack
- Prometheus
- Alarm manager
- Blackbox exporter (use icmp, http and tcp probe)
- SmartYard-Server custom exporter. Get domophone vendor specific metrics
- Grafana
- Karma (alarm dashboard)
Configuration SmartYard-Server
- Edit server config file:
/opt/server/config/config.json
add servers and "service_discovery_token"
example:
"monitoring": {
"backend": "prometheus",
"service_discovery_token": "EXAMPLE_TOKEN",
"servers": [
{
"name": "prometheus-01",
"url": "http://172.28.0.16:9090",
"username": "admin",
"password": "prometheus"
},
{
"name": "prometheus-02",
"url": "http://172.28.0.17:9090",
"username": "admin",
"password": "prometheus"
}
]
}
Configure Prometheus
coming soon