elstat/config.example.py
Luna Mendes 7a2f9a95c7 add alerts
- worker: change Adapter._construct to receive an extra arg
 - worker: hardcode a bad result and write it off on workloop fail
2018-08-30 22:22:02 -03:00

31 lines
585 B
Python

PORT = 8069
PASSWORD = '123456'
SERVICES = {
'elixire': {
'description': "elixi.re's backend",
'adapter': 'http',
'adapter_args': {
'url': 'https://elixi.re/api/hello'
},
'poll': 10,
'alerts': ['beep'],
},
'dabian': {
'description': 'elixi.re main server',
'adapter': 'ping',
'adapter_args': {
'address': '192.168.1.1'
},
'poll': 15,
'alerts': ['beep'],
}
}
ALERTS = {
'bepsi': {
'type': 'discord',
'url': 'beep boop'
}
}