fritzbox-grafana-monitor/fritzbox_exporter.service
Joachim Hummel 7f140dbd26 Added Files
2021-05-11 15:47:22 +00:00

16 lines
436 B
Desktop File

[Unit]
Description=Prometheus fritzbox exporter
After=network.target
Wants=network.target
[Service]
User=prometheus
Group=prometheus
WorkingDirectory=/usr/local/share/exporter
ExecStart=/usr/local/share/exporter/fritzbox_exporter -username collectd -password <DeinPasswort> -listen-address 192.168.1.100:9042 -metrics-file /usr/local/share/expoter/exporter/metrics.json
Type=simple
Restart=always
[Install]
WantedBy=multi-user.target