Add settings for notification conditions filterer

This commit is contained in:
JonnyWong16 2017-05-05 23:14:11 -07:00
parent 565dea5ecf
commit f3349c64a9
5 changed files with 90 additions and 9 deletions

View file

@ -526,6 +526,8 @@ def set_notifier_config(notifier_id=None, agent_id=None, **kwargs):
'agent_label': agent['label'],
'friendly_name': kwargs.get('friendly_name', ''),
'notifier_config': json.dumps(notifier_config),
'custom_conditions': kwargs.get('custom_conditions', ''),
'custom_conditions_logic': kwargs.get('custom_conditions_logic', ''),
}
values.update(actions)
values.update(subject_text)