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:
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index dbd19db123a..5f900558c8e 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -129,6 +129,10 @@ extern int CONFIG_UNSAFE_USER_PARAMETERS;
#define ZBX_AVG15 2
#define ZBX_AVG_COUNT 3
+#ifdef _WINDOWS
+# define MAX_COLLECTOR_PERIOD (15 * SEC_PER_MIN)
+#endif
+
#define ZBX_CPU_STATE_USER 0
#define ZBX_CPU_STATE_SYSTEM 1
#define ZBX_CPU_STATE_NICE 2