diff --git a/templates/alertalerta.py b/templates/alertalerta.py index 7db30a24b23162a6a90e11ad00f053d2f93fa099..6d43855dfb664bf4bf3de247208ad9a8aa33c97e 100755 --- a/templates/alertalerta.py +++ b/templates/alertalerta.py @@ -42,15 +42,15 @@ class Alerta: 'origin': self.args.host, 'timeout': 86400, 'environment': self.args.environment, - 'resource': undefined-%s % time.time(), - 'event': Exception, + 'resource': 'undefined-%s' % time.time(), + 'event': 'Exception', 'tags': ['environment:%s' % self.args.environment], - 'group': Application, - 'severity': critical, + 'group': 'Application', + 'severity': 'critical', 'service': ['www.example.com'], - 'text': , - 'value': , - 'rawData': , + 'text': '', + 'value': '', + 'rawData': '', } return values