bundles/icinga2: only send sms for HOST alerts

This commit is contained in:
Franzi 2024-01-21 11:16:46 +01:00
parent 28d4839822
commit 8fa488e411
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -194,6 +194,7 @@ if __name__ == '__main__':
notify_per_mail() notify_per_mail()
if args.sms: if args.sms:
if args.service_name:
notify_per_sms() notify_per_sms()
if CONFIG['ntfy']['user']: if CONFIG['ntfy']['user']:
notify_per_ntfy() notify_per_ntfy()