noc.fm.models.archivedalarm

Module Contents

class noc.fm.models.archivedalarm.ArchivedAlarm

Bases: mongoengine.document.Document

meta
status = C
timestamp
clear_timestamp
managed_object
alarm_class
severity
vars
log
opening_event
closing_event
reopens
discriminator
ack_ts
ack_user
control_time
root
escalation_ts
escalation_tt
escalation_error
escalation_ctx
escalation_close_ts
escalation_close_error
escalation_close_ctx
direct_services
direct_subscribers
total_objects
total_services
total_subscribers
adm_path
segment_path
container_path
rca_neighbors
subject
body
duration
display_duration
effective_style
__str__(self)
iter_changed_datastream(self, changed_fields=None)
log_message(self, message)
get_template_vars(self)

Prepare template variables

set_root(self, root_alarm)
reopen(self, message)

Reopen alarm back

iter_consequences(self)

Generator yielding all consequences alarm

iter_affected(self)

Generator yielding all affected managed objects

set_escalation_close_error(self, error)
close_escalation(self)
set_escalation_close_ctx(self)