Monitor Keenetic router with Grafana using Prometheus or InflaxDB
1.8K
Русская версия | English version
services:
keenetic-monitoring:
container_name: keenetic-monitoring
image: deniom3/keenetic-monitoring:latest
restart: unless-stopped
ports:
- '9100:9100' # Prometheus метрики
env_file:
- .env
Create a .env file with the following settings:
KEENETIC_ADMIN_ENDPOINT=http://192.168.0.1:81
KEENETIC_SKIP_AUTH=true
KEENETIC_LOGIN=user
KEENETIC_PASSWORD=password
# Metrics collection interval (seconds)
COLLECTOR_INTERVAL_SEC=120
# Prometheus Settings
PROMETHEUS_ENABLED=true
PROMETHEUS_EXPOSE_PORT=9100
# InfluxDB Settings (optional)
INFLUX2_ENABLED=false
INFLUX2_URL=http://influxdb:8086
INFLUX2_ORG=keenetic
INFLUX2_TOKEN=token
INFLUX2_BUCKET=keenetic
You can copy and edit the config/metrics.json file to configure the metrics collected.
Content type
Image
Digest
sha256:51f9789ef…
Size
22.7 MB
Last updated
10 months ago
docker pull deniom3/keenetic-monitoring