summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--include/common.h1
-rw-r--r--src/libs/zbxcommon/comms.c2
-rw-r--r--src/libs/zbxsysinfo/common/ntp.c1
4 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b09d059b..e02dcf0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
Changes for 1.1beta3:
+ - added new item status: NOT AVAIALBLE (Alexei)
- fixed autoheader warnings (Eugene)
- removed file acconfig.h (Eugene)
- added support of vfs.dev.read.bytes[*] (Eugene)
@@ -16,7 +17,7 @@ Changes for 1.1beta3:
- added support of system.cpu.util[<idle|user|kernel|wait>] (Eugene)
- added support of net.listen.tcp[portdec] (Eugene)
- changed system.uptime (Eugene)
- - fixed processing of SNMP counter64 objects (ALexei)
+ - fixed processing of SNMP counter64 objects (Alexei)
- improved support of proc.num[<process>,<user name>,<all|run|sleep|zomb>] (Eugene)
- improved support of proc.mem[<process>,<user name>,<max|min|sum|avg>] (Eugene)
- added support of system.swap.in.num (Eugene)
diff --git a/include/common.h b/include/common.h
index dc390bfc..ef5f894a 100644
--- a/include/common.h
+++ b/include/common.h
@@ -104,6 +104,7 @@
/*#define ITEM_STATUS_TRAPPED 2*/
#define ITEM_STATUS_NOTSUPPORTED 3
#define ITEM_STATUS_DELETED 4
+#define ITEM_STATUS_NOTAVAILABLE 5
/* Host statuses */
#define HOST_STATUS_MONITORED 0
diff --git a/src/libs/zbxcommon/comms.c b/src/libs/zbxcommon/comms.c
index 086e49ba..7168d5da 100644
--- a/src/libs/zbxcommon/comms.c
+++ b/src/libs/zbxcommon/comms.c
@@ -1,3 +1,5 @@
+#include <strong.h>
+
#include "common.h"
#include "log.h"
diff --git a/src/libs/zbxsysinfo/common/ntp.c b/src/libs/zbxsysinfo/common/ntp.c
index f33bc8e8..d700b387 100644
--- a/src/libs/zbxsysinfo/common/ntp.c
+++ b/src/libs/zbxsysinfo/common/ntp.c
@@ -5,6 +5,7 @@
#include <errno.h>
#include <time.h>
#include <stdio.h>
+#include <string.h>
#include "config.h"
#include "common.h"