downtime services too

This commit is contained in:
cronekorkn 2023-03-02 18:35:14 +01:00
parent f167643980
commit eae3b92eaf
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -79,6 +79,7 @@ if action == 'add':
'end_time': now + duration_seconds,
'type': 'Host',
'child_options': 'DowntimeTriggeredChildren',
'all_services': True,
'filter': f'match("{node_name}", host.name)',
'pretty': True,
}