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

# Source Code for Module Products.ZenEvents.ZenEventClasses

     1  ###########################################################################
     2  #
     3  # This program is part of Zenoss Core, an open source monitoring platform.
     4  # Copyright (C) 2007, 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 as published by
     8  # the Free Software Foundation.
     9  #
    10  # For complete information please visit: http://www.zenoss.com/oss/
    11  #
    12  ###########################################################################
    13  App_Start = "/App/Start"
    14  App_Stop = "/App/Stop"
    15  Change_Add = "/Change/Add"
    16  Change = "/Change"
    17  Change_Remove = "/Change/Remove"
    18  Change_Set = "/Change/Set"
    19  Change_Add_Blocked = "/Change/Add/Blocked"
    20  Change_Remove_Blocked = "/Change/Remove/Blocked"
    21  Change_Set_Blocked = "/Change/Set/Blocked"
    22  Cmd_Fail = "/Cmd/Fail"
    23  Cmd_Ok = "/Cmd/Ok"
    24  Heartbeat = "/Heartbeat"
    25  Perf_Snmp = "/Perf/Snmp"
    26  Perf_XmlRpc = "/Perf/XmlRpc"
    27  Status_Heartbeat = "/Status/Heartbeat"
    28  Status_IpService = "/Status/IpService"
    29  Status_Nagios = "/Status/Nagios" # Deprecated, but included for consistency
    30  Status_OSProcess = "/Status/OSProcess"
    31  Status_Perf = "/Status/Perf"
    32  Status_Ping = "/Status/Ping"
    33  Status_RRD = "/Status/RRD"
    34  Status_Snmp = "/Status/Snmp"
    35  Status_Update = "/Status/Update"
    36  Status_Web = "/Status/Web"
    37  Status_Wmi = "/Status/Wmi"
    38  Status_Wmi_Conn = "/Status/Wmi/Conn"
    39  Status_WinService = "/Status/WinService"
    40  Status_XmlRpc = "/Status/XmlRpc"
    41  Unknown = "/Unknown"
    42
    43  Severities = 'Clear Debug Info Warning Error Critical'.split()
    44  Clear, Debug, Info, Warning, Error, Critical = range(6)
    45