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

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

     1  ###########################################################################
     2  #
     3  # This program is part of Zenoss Core, an open source monitoring platform.
     4  # Copyright (C) 2010, Zenoss Inc.
     5  #
     6  # This program is free software; you can redistribute it and/or modify it
     7  # under the terms of the GNU General Public License version 2 or (at your
     8  # option) any later version as published by the Free Software Foundation.
     9  #
    10  # For complete information please visit: http://www.zenoss.com/oss/
    11  #
    12  ###########################################################################
    13
    14 -class EventField:
    15      UUID = 'uuid'
    16      CREATED_TIME = 'created_time'
    17      FINGERPRINT = 'fingerprint'
    18      EVENT_CLASS = 'event_class'
    19      EVENT_CLASS_KEY = 'event_class_key'
    20      EVENT_CLASS_MAPPING_UUID = 'event_class_mapping_uuid'
    21      ACTOR = 'actor'
    22      SUMMARY = 'summary'
    23      MESSAGE = 'message'
    24      SEVERITY = 'severity'
    25      EVENT_KEY = 'event_key'
    26      EVENT_GROUP = 'event_group'
    27      AGENT = 'agent'
    28      SYSLOG_PRIORITY = 'syslog_priority'
    29      SYSLOG_FACILITY = 'syslog_facility'
    30      NT_EVENT_CODE = 'nt_event_code'
    31      MONITOR = 'monitor'
    32      DETAILS = 'details'
    33      STATUS = 'status'
    34      TAGS = 'tags'
    35
    36 -    class Actor:
    37          ELEMENT_TYPE_ID = 'element_type_id'
    38          ELEMENT_IDENTIFIER = 'element_identifier'
    39          ELEMENT_TITLE = 'element_title'
    40          ELEMENT_UUID = 'element_uuid'
    41          ELEMENT_SUB_TYPE_ID = 'element_sub_type_id'
    42          ELEMENT_SUB_IDENTIFIER = 'element_sub_identifier'
    43          ELEMENT_SUB_TITLE = 'element_sub_title'
    44          ELEMENT_SUB_UUID = 'element_sub_uuid'
    45
    46 -    class Detail:
    47          NAME = 'name'
    48          VALUE = 'value'
    49
    50 -    class Tag:
    51          TYPE = 'type'
    52          UUID = 'uuid'
    53
    54 -class EventSummaryField:
    55      UUID = 'uuid'
    56      OCCURRENCE = 'occurrence'
    57      STATUS = 'status'
    58      FIRST_SEEN_TIME = 'first_seen_time'
    59      STATUS_CHANGE_TIME = 'status_change_time'
    60      LAST_SEEN_TIME = 'last_seen_time'
    61      COUNT = 'count'
    62      CURRENT_USER_UUID = 'current_user_uuid'
    63      CURRENT_USER_NAME = 'current_user_name'
    64      CLEARED_BY_EVENT_UUID = 'cleared_by_event_uuid'
    65      NOTES = 'notes'
    66      AUDIT_LOG = 'audit_log'
    67
    68 -class ZepRawEventField:
    69      EVENT = 'event'
    70      CLEAR_EVENT_CLASS = 'clear_event_class'
    71