diff --git a/bundles/icinga2/files/scripts/icinga_notification_wrapper b/bundles/icinga2/files/scripts/icinga_notification_wrapper index 66a9f5b..4804bab 100644 --- a/bundles/icinga2/files/scripts/icinga_notification_wrapper +++ b/bundles/icinga2/files/scripts/icinga_notification_wrapper @@ -194,6 +194,7 @@ if __name__ == '__main__': notify_per_mail() if args.sms: - notify_per_sms() + if args.service_name: + notify_per_sms() if CONFIG['ntfy']['user']: notify_per_ntfy()