Skip to content
Snippets Groups Projects
Commit 0e289530 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Bug fixes [skip-ci]

parent b4185210
Branches
No related tags found
No related merge requests found
...@@ -42,15 +42,15 @@ class Alerta: ...@@ -42,15 +42,15 @@ class Alerta:
'origin': self.args.host, 'origin': self.args.host,
'timeout': 86400, 'timeout': 86400,
'environment': self.args.environment, 'environment': self.args.environment,
'resource': undefined-%s % time.time(), 'resource': 'undefined-%s' % time.time(),
'event': Exception, 'event': 'Exception',
'tags': ['environment:%s' % self.args.environment], 'tags': ['environment:%s' % self.args.environment],
'group': Application, 'group': 'Application',
'severity': critical, 'severity': 'critical',
'service': ['www.example.com'], 'service': ['www.example.com'],
'text': , 'text': '',
'value': , 'value': '',
'rawData': , 'rawData': '',
} }
return values return values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment