2023-11-22 23:35:33 -07:00
|
|
|
[Unit]
|
|
|
|
Description=Icinga2 fail overdue services.
|
2024-03-03 23:07:45 -07:00
|
|
|
Wants=icinga2.service icinga-director.service
|
|
|
|
Requires=icinga2.service icinga-director.service
|
2023-11-22 23:35:33 -07:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=flask
|
2024-02-25 20:52:48 -07:00
|
|
|
ExecStart=/opt/venvs/icinga2/icinga2_checks/bin/python3 /opt/icinga2-checks/Other/fail-overdue.py --password XXXXX --insecure
|
|
|
|
SyslogIdentifier=failoverdue
|
2023-11-22 23:35:33 -07:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|