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:
authorAndris Zeila <andris.zeila@zabbix.com>2017-05-22 10:49:13 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2017-05-22 10:49:13 +0300
commit337b3760287e2330f2f398605fbd43db10ee7488 (patch)
tree7a4fcb5809076dc99f8ae53232f02b3acb94db1e /include/zbxself.h
parentc1bfa3b8ce25667b0463f765aefeab20ed68d7ee (diff)
parent76732d5bc8e90403de037c6c17312d18d51f0f55 (diff)
.......... [ZBXNEXT-2442] merged from upstream 1/2
Diffstat (limited to 'include/zbxself.h')
-rw-r--r--include/zbxself.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zbxself.h b/include/zbxself.h
index 015d28d0881..a6089f83af6 100644
--- a/include/zbxself.h
+++ b/include/zbxself.h
@@ -62,12 +62,14 @@
#define ZBX_AGGR_FUNC_MAX 2
#define ZBX_AGGR_FUNC_MIN 3
+#define ZBX_SELFMON_DELAY 1
+
int get_process_type_by_name(const char *proc_type_str);
int get_process_type_forks(unsigned char process_type);
const char *get_process_type_string(unsigned char process_type);
#ifndef _WINDOWS
-void init_selfmon_collector(void);
+int init_selfmon_collector(char **error);
void free_selfmon_collector(void);
void update_selfmon_counter(unsigned char state);
void collect_selfmon_stats(void);