icinga2-checks/services/auto-acknowledge-apt.service

13 lines
397 B
SYSTEMD
Raw Normal View History

2024-02-25 20:52:48 -07:00
[Unit]
Description=Auto Acknowledge all Icinga2 apt alerts
2024-02-27 22:08:06 -07:00
Wants=icinga2.service icinga-director.service
Requires=icinga2.service icinga-director.service
2024-02-25 20:52:48 -07:00
[Service]
User=flask
2024-02-25 21:08:32 -07:00
ExecStart=/opt/icinga2-checks/Other/auto-acknowledge-apt.sh --api https://localhost:5665 --fail --user icingaweb2 --password XXXXX
2024-02-25 20:52:48 -07:00
SyslogIdentifier=auto-acknowledge-apt
Restart=always
[Install]
WantedBy=multi-user.target