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

Source Code for Module Products.ZenEvents.ZenEventClasses

 1  ############################################################################## 
 2  #  
 3  # Copyright (C) Zenoss, Inc. 2007, 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  App_Start = "/App/Start" 
12  App_Stop = "/App/Stop" 
13  Change_Add = "/Change/Add" 
14  Change = "/Change" 
15  Change_Remove = "/Change/Remove" 
16  Change_Set = "/Change/Set" 
17  Change_Add_Blocked = "/Change/Add/Blocked" 
18  Change_Remove_Blocked = "/Change/Remove/Blocked" 
19  Change_Set_Blocked = "/Change/Set/Blocked" 
20  Cmd_Fail = "/Cmd/Fail" 
21  Cmd_Ok = "/Cmd/Ok" 
22  Heartbeat = "/Heartbeat" 
23  Perf_Snmp = "/Perf/Snmp" 
24  Perf_XmlRpc = "/Perf/XmlRpc" 
25  Status_Heartbeat = "/Status/Heartbeat" 
26  Status_IpService = "/Status/IpService" 
27  Status_Nagios = "/Status/Nagios" # Deprecated, but included for consistency 
28  Status_OSProcess = "/Status/OSProcess" 
29  Status_Perf = "/Status/Perf" 
30  Status_Ping = "/Status/Ping" 
31  Status_RRD = "/Status/RRD" 
32  Status_Snmp = "/Status/Snmp" 
33  Status_Update = "/Status/Update" 
34  Status_Web = "/Status/Web" 
35  Status_Wmi = "/Status/Wmi" 
36  Status_Wmi_Conn = "/Status/Wmi/Conn" 
37  Status_WinService = "/Status/WinService" 
38  Status_XmlRpc = "/Status/XmlRpc" 
39  Unknown = "/Unknown" 
40   
41  Severities = 'Clear Debug Info Warning Error Critical'.split()  
42  Clear, Debug, Info, Warning, Error, Critical = range(6) 
43