icinga: fix logic error, do not send sms for service problems
This commit is contained in:
parent
bfbbffe22c
commit
319dc8ad21
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ if __name__ == '__main__':
|
|||
notify_per_mail()
|
||||
|
||||
if args.sms:
|
||||
if args.service_name:
|
||||
if not args.service_name:
|
||||
notify_per_sms()
|
||||
if CONFIG['ntfy']['user']:
|
||||
notify_per_ntfy()
|
||||
|
|
Loading…
Reference in a new issue