7a2f9a95c7
- worker: change Adapter._construct to receive an extra arg - worker: hardcode a bad result and write it off on workloop fail
31 lines
585 B
Python
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'
|
|
}
|
|
}
|