This commit is contained in:
jan 2025-03-02 15:38:48 +00:00
parent fd21f27db5
commit 3949b0e714

13
netapp_exporter.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=NetApp Exporter for Prometheus
After=network.target
[Service]
WorkingDirectory=/opt/netapp_exporter
ExecStart=/usr/bin/python3 /opt/netapp_exporter/netapp_exporter.py
Restart=always
StandardOutput=append:/var/log/netapp_exporter.log
StandardError=append:/var/log/netapp_exporter.log
[Install]
WantedBy=multi-user.target