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

Source Code for Module 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_Snmp = "/Status/Snmp" 
34  Status_Update = "/Status/Update" 
35  Status_Web = "/Status/Web" 
36  Status_Wmi = "/Status/Wmi" 
37  Status_Wmi_Conn = "/Status/Wmi/Conn" 
38  Status_WinService = "/Status/WinService" 
39  Status_XmlRpc = "/Status/XmlRpc" 
40  Unknown = "/Unknown" 
41   
42  Severities = 'Clear Debug Info Warning Error Critical'.split()  
43  Clear, Debug, Info, Warning, Error, Critical = range(6) 
44