You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
474 B

[Unit]
Description=SNMP Exporter for Prometheus
Wants=network.target
After=network-online.target
[Service]
Restart=always
Type=simple
EnvironmentFile=/opt/snmp_exporter/etc/snmp_exporter.env
ExecStart=/opt/snmp_exporter/bin/snmp_exporter --config.file=${CONFIG_FILE} --web.listen-address=${LISTEN_ADDRESS} --log.level=${LOG_LEVEL} $EXPORTER_OPTIONS
WorkingDirectory=/opt/snmp_exporter/etc
User=prometheus
Group=itix-svc
[Install]
WantedBy=multi-user.target default.target