Notification Modules¶
-
class
promgen.notification.
FormSenderBase
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]¶
-
class
promgen.notification.
NotificationBase
[source]¶ Base Notification class
-
config
(key)[source]¶ Plugin specific configuration
This wraps our PROMGEN settings so that a plugin author does not need to be concerned with how the configuration files are handled but only about the specific key.
-
form
¶ alias of
FormSenderBase
-
-
class
promgen.notification.email.
FormEmail
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]¶
-
class
promgen.notification.ikasan.
FormIkasan
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]¶
-
class
promgen.notification.ikasan.
NotificationIkasan
[source]¶ Send messages to Hipchat using Ikasan Hipchat bridge
https://github.com/studio3104/ikasan
-
form
¶ alias of
FormIkasan
-
-
class
promgen.notification.linenotify.
FormLineNotify
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]¶
-
class
promgen.notification.linenotify.
NotificationLineNotify
[source]¶ Send messages to line notify
https://notify-bot.line.me/en/
-
form
¶ alias of
FormLineNotify
-
Simple webhook bridge Accepts alert json from Alert Manager and then POSTs individual alerts to configured webhook destinations
-
class
promgen.notification.webhook.
FormWebhook
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)[source]¶
-
class
promgen.notification.webhook.
NotificationWebhook
[source]¶ Post notifications to a specific web endpoint
-
form
¶ alias of
FormWebhook
-