fritzbox-grafana-monitor/fritzbox_exporter.service

16 lines
436 B
SYSTEMD
Raw Normal View History

2021-05-11 15:47:22 +00:00
[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