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:
authorViktors Tjarve <viktors.tjarve@zabbix.com>2018-01-08 10:24:27 +0300
committerViktors Tjarve <viktors.tjarve@zabbix.com>2018-01-08 10:24:27 +0300
commit3346434dd838043731e972f8edbef9918e0f38c2 (patch)
treea3cbe65dddc2f5eb7973f8cd4c8b107b680c9a24 /include/zbxself.h
parentc376f0f67963e583b9a4dc27c3af3e0991c31a62 (diff)
parent11cfafe79dcb4e7551414c3aaf36c1ecd042671d (diff)
....I..... [ZBX-13155] excluded src/libs/zbxself from agent compilation
Diffstat (limited to 'include/zbxself.h')
-rw-r--r--include/zbxself.h66
1 files changed, 14 insertions, 52 deletions
diff --git a/include/zbxself.h b/include/zbxself.h
index 48e786da6a8..a165a27a76b 100644
--- a/include/zbxself.h
+++ b/include/zbxself.h
@@ -20,44 +20,9 @@
#ifndef ZABBIX_ZBXSELF_H
#define ZABBIX_ZBXSELF_H
-#define ZBX_PROCESS_STATE_IDLE 0
-#define ZBX_PROCESS_STATE_BUSY 1
-#define ZBX_PROCESS_STATE_COUNT 2 /* number of process states */
-
-#define ZBX_PROCESS_TYPE_POLLER 0
-#define ZBX_PROCESS_TYPE_UNREACHABLE 1
-#define ZBX_PROCESS_TYPE_IPMIPOLLER 2
-#define ZBX_PROCESS_TYPE_PINGER 3
-#define ZBX_PROCESS_TYPE_JAVAPOLLER 4
-#define ZBX_PROCESS_TYPE_HTTPPOLLER 5
-#define ZBX_PROCESS_TYPE_TRAPPER 6
-#define ZBX_PROCESS_TYPE_SNMPTRAPPER 7
-#define ZBX_PROCESS_TYPE_PROXYPOLLER 8
-#define ZBX_PROCESS_TYPE_ESCALATOR 9
-#define ZBX_PROCESS_TYPE_HISTSYNCER 10
-#define ZBX_PROCESS_TYPE_DISCOVERER 11
-#define ZBX_PROCESS_TYPE_ALERTER 12
-#define ZBX_PROCESS_TYPE_TIMER 13
-#define ZBX_PROCESS_TYPE_HOUSEKEEPER 14
-#define ZBX_PROCESS_TYPE_DATASENDER 15
-#define ZBX_PROCESS_TYPE_CONFSYNCER 16
-#define ZBX_PROCESS_TYPE_HEARTBEAT 17
-#define ZBX_PROCESS_TYPE_SELFMON 18
-#define ZBX_PROCESS_TYPE_VMWARE 19
-#define ZBX_PROCESS_TYPE_COLLECTOR 20
-#define ZBX_PROCESS_TYPE_LISTENER 21
-#define ZBX_PROCESS_TYPE_ACTIVE_CHECKS 22
-#define ZBX_PROCESS_TYPE_TASKMANAGER 23
-#define ZBX_PROCESS_TYPE_IPMIMANAGER 24
-#define ZBX_PROCESS_TYPE_ALERTMANAGER 25
-#define ZBX_PROCESS_TYPE_PREPROCMAN 26
-#define ZBX_PROCESS_TYPE_PREPROCESSOR 27
-#define ZBX_PROCESS_TYPE_COUNT 28 /* number of process types */
-#define ZBX_PROCESS_TYPE_UNKNOWN 255
-
-#define ZBX_RTC_LOG_SCOPE_FLAG 0x80
-#define ZBX_RTC_LOG_SCOPE_PROC 0
-#define ZBX_RTC_LOG_SCOPE_PID 1
+#define ZBX_PROCESS_STATE_IDLE 0
+#define ZBX_PROCESS_STATE_BUSY 1
+#define ZBX_PROCESS_STATE_COUNT 2 /* number of process states */
#define ZBX_AGGR_FUNC_ONE 0
#define ZBX_AGGR_FUNC_AVG 1
@@ -66,22 +31,19 @@
#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);
+int get_process_type_forks(unsigned char process_type);
#ifndef _WINDOWS
-int init_selfmon_collector(char **error);
-void free_selfmon_collector(void);
-void update_selfmon_counter(unsigned char state);
-void collect_selfmon_stats(void);
-void get_selfmon_stats(unsigned char process_type, unsigned char aggr_func, int process_num,
- unsigned char state, double *value);
-void zbx_sleep_loop(int sleeptime);
-void zbx_sleep_forever(void);
-void zbx_wakeup(void);
-int zbx_sleep_get_remainder(void);
-void zbx_set_sigusr_handler(void (*handler)(int flags));
+int init_selfmon_collector(char **error);
+void free_selfmon_collector(void);
+void update_selfmon_counter(unsigned char state);
+void collect_selfmon_stats(void);
+void get_selfmon_stats(unsigned char process_type, unsigned char aggr_func, int process_num,
+ unsigned char state, double *value);
+void zbx_sleep_loop(int sleeptime);
+void zbx_sleep_forever(void);
+void zbx_wakeup(void);
+int zbx_sleep_get_remainder(void);
#endif
#endif /* ZABBIX_ZBXSELF_H */