# coding: utf-8

MONIT_STATUS_EVENT = b'MONIT_STATUS_EVENT'
MONIT_TASK_EVENT = b'MONIT_TASK_EVENT'
MONIT_WORKER_EVENT = b'MONIT_WORKER_EVENT'

MONIT_WORKER_HEART_BEAT_PERIOD = 5

LEVEL_OK = 1
LEVEL_WARNING = 2
LEVEL_FAIL = 3
LEVEL_CHOICES = (
    (LEVEL_OK, 'ok'),
    (LEVEL_WARNING, 'warning'),
    (LEVEL_FAIL, 'fail'),
)