Package Products :: Package ZenEvents :: Package events2 :: Module fields |
[hide private]
[frames] | no frames]

# Source Code for Module Products.ZenEvents.events2.fields

     1  ##############################################################################
     2  #
     3  # Copyright (C) Zenoss, Inc. 2010, all rights reserved.
     4  #
     5  # This content is made available according to terms specified in
     6  # License.zenoss under the directory where your Zenoss product is installed.
     7  #
     8  ##############################################################################
     9
    10
    11 -class EventField:
    12      UUID = 'uuid'
    13      CREATED_TIME = 'created_time'
    14      FINGERPRINT = 'fingerprint'
    15      EVENT_CLASS = 'event_class'
    16      EVENT_CLASS_KEY = 'event_class_key'
    17      EVENT_CLASS_MAPPING_UUID = 'event_class_mapping_uuid'
    18      ACTOR = 'actor'
    19      SUMMARY = 'summary'
    20      MESSAGE = 'message'
    21      SEVERITY = 'severity'
    22      EVENT_KEY = 'event_key'
    23      EVENT_GROUP = 'event_group'
    24      AGENT = 'agent'
    25      SYSLOG_PRIORITY = 'syslog_priority'
    26      SYSLOG_FACILITY = 'syslog_facility'
    27      NT_EVENT_CODE = 'nt_event_code'
    28      MONITOR = 'monitor'
    29      DETAILS = 'details'
    30      STATUS = 'status'
    31      TAGS = 'tags'
    32
    33 -    class Actor:
    34          ELEMENT_TYPE_ID = 'element_type_id'
    35          ELEMENT_IDENTIFIER = 'element_identifier'
    36          ELEMENT_TITLE = 'element_title'
    37          ELEMENT_UUID = 'element_uuid'
    38          ELEMENT_SUB_TYPE_ID = 'element_sub_type_id'
    39          ELEMENT_SUB_IDENTIFIER = 'element_sub_identifier'
    40          ELEMENT_SUB_TITLE = 'element_sub_title'
    41          ELEMENT_SUB_UUID = 'element_sub_uuid'
    42
    43 -    class Detail:
    44          NAME = 'name'
    45          VALUE = 'value'
    46
    47 -    class Tag:
    48          TYPE = 'type'
    49          UUID = 'uuid'
    50
    51 -class EventSummaryField:
    52      UUID = 'uuid'
    53      OCCURRENCE = 'occurrence'
    54      STATUS = 'status'
    55      FIRST_SEEN_TIME = 'first_seen_time'
    56      STATUS_CHANGE_TIME = 'status_change_time'
    57      LAST_SEEN_TIME = 'last_seen_time'
    58      COUNT = 'count'
    59      CURRENT_USER_UUID = 'current_user_uuid'
    60      CURRENT_USER_NAME = 'current_user_name'
    61      CLEARED_BY_EVENT_UUID = 'cleared_by_event_uuid'
    62      NOTES = 'notes'
    63      AUDIT_LOG = 'audit_log'
    64
    65 -class ZepRawEventField:
    66      EVENT = 'event'
    67      CLEAR_EVENT_CLASS = 'clear_event_class'
    68