summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-02 11:22:22 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-04-02 11:22:22 +0000
commitd2a3e65806eb484b59de7c3d8b7a8612249e70ca (patch)
treea86c165cd36fe5284a3e59bcbcf6a10eb56077dc /include/common.h
parent5297145c0a145eea288a0488e24e08d56c2b7dee (diff)
downloadzabbix-d2a3e65806eb484b59de7c3d8b7a8612249e70ca.tar.gz
zabbix-d2a3e65806eb484b59de7c3d8b7a8612249e70ca.tar.xz
zabbix-d2a3e65806eb484b59de7c3d8b7a8612249e70ca.zip
- Developed action configurations for discodery events (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3965 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 113f2845..7e5abf53 100644
--- a/include/common.h
+++ b/include/common.h
@@ -143,6 +143,12 @@ typedef enum
EVENT_OBJECT_DSERVICE
} zbx_event_object_t;
+typedef enum
+{
+ DOBJECT_STATUS_UP = 0,
+ DOBJECT_STATUS_DOWN
+} zbx_dstatus_t
+
/* Item value types */
typedef enum
{
@@ -305,6 +311,14 @@ typedef enum
#define TRIGGER_VALUE_TRUE 1
#define TRIGGER_VALUE_UNKNOWN 2
+/* Trigger severity */
+#define TRIGGER_SEVERITY_NOT_CLASSIFIED 0
+#define TRIGGER_SEVERITY_INFORMATION 1
+#define TRIGGER_SEVERITY_WARNING 2
+#define TRIGGER_SEVERITY_AVERAGE 3
+#define TRIGGER_SEVERITY_HIGH 4
+#define TRIGGER_SEVERITY_DISASTER 5
+
/* Media statuses */
#define MEDIA_STATUS_ACTIVE 0
#define MEDIA_STATUS_DISABLED 1