Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2021-07-27 09:20:10 +0300
committerArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2021-07-27 09:20:10 +0300
commitf59a91b1e58cb1b955ebbafbe55252c17b7c7cbf (patch)
tree8780790002c3f3abc249ae9a8fea30b3581ee98b /include/db.h
parent4001dd8eb83897723cb1df6cb8c100028d7b0a33 (diff)
parent0c22bead53478a31eba736db08eaa98cf430559c (diff)
........S. [ZBXNEXT-6768] rebased on top of the ZBXNEXT-6715
Diffstat (limited to 'include/db.h')
-rw-r--r--include/db.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/db.h b/include/db.h
index 6583a4db01d..6fa39c30b37 100644
--- a/include/db.h
+++ b/include/db.h
@@ -341,6 +341,15 @@ DB_TRIGGER;
typedef struct
{
+ zbx_uint64_t serviceid;
+ char *name;
+ zbx_vector_uint64_t eventids;
+ zbx_vector_ptr_t events;
+}
+DB_SERVICE;
+
+typedef struct
+{
zbx_uint64_t eventid;
DB_TRIGGER trigger;
zbx_uint64_t objectid;
@@ -463,6 +472,8 @@ typedef struct
zbx_uint64_t eventid;
zbx_uint64_t r_eventid;
zbx_uint64_t acknowledgeid;
+ zbx_uint64_t servicealarmid;
+ zbx_uint64_t serviceid;
int nextcheck;
int esc_step;
zbx_escalation_status_t status;
@@ -493,6 +504,14 @@ typedef struct
}
DB_ACKNOWLEDGE;
+typedef struct
+{
+ zbx_uint64_t service_alarmid;
+ int value;
+ int clock;
+}
+zbx_service_alarm_t;
+
int DBinit(char **error);
void DBdeinit(void);
@@ -766,6 +785,7 @@ typedef struct
{
zbx_uint64_t eventid;
int clock;
+ int ns;
int value;
int severity;