flexget.components.notify.notifiers.cronitor module#

class flexget.components.notify.notifiers.cronitor.Cronitor[source]#

Bases: object

Send messages via cronitor.

Example::

cronitor: ABC123

Or:
cronitor:

monitor_code: ABC123 on_start: yes on_abort: no message: Ping host: foo.bar auth_key: secret

static prepare_config(config)[source]#
_send_request(status, config, task_name)[source]#
on_task_abort(task, config)[source]#
on_task_exit(task, config)[source]#
on_task_start(task, config)[source]#
base_url = 'https://cronitor.link/{monitor_code}/{status}'#
schema = {'oneOf': [{'additionalProperties': False, 'properties': {'auth_key': {'type': 'string'}, 'host': {'type': 'string'}, 'message': {'type': 'string'}, 'monitor_code': {'type': 'string'}, 'on_abort': {'type': 'boolean'}, 'on_start': {'type': 'boolean'}}, 'required': ['monitor_code'], 'type': 'object'}, {'type': 'string'}]}#
flexget.components.notify.notifiers.cronitor.register_plugin()[source]#