Перейти к содержанию

OPTIONAL feature

in progress

Prometheus stack

  1. Prometheus
  2. Alarm manager
  3. Blackbox exporter (use icmp, http and tcp probe)
  4. SmartYard-Server custom exporter. Get domophone vendor specific metrics
  5. Grafana
  6. Karma (alarm dashboard)

Configuration SmartYard-Server

  1. 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