noc.sa.models.objectnotification

Module Contents

class noc.sa.models.objectnotification.ObjectNotification

Bases: noc.core.model.base.NOCModel

class Meta

Bases: object

verbose_name
db_table = sa_objectnotification
app_label = sa
selector
notification_group
config_changed
alarm_risen
alarm_reopened
alarm_cleared
alarm_commented
new
deleted
version_changed
interface_changed
script_failed
config_policy_violation
__str__(self)
classmethod render_message(cls, event_id, context)

Render template for event :param cls: :param event_id: :param context: :return: subject, body tuple