bundles/icinga2: only send sms for HOST alerts
This commit is contained in:
parent
28d4839822
commit
8fa488e411
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue