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:
authorIgors Homjakovs <git-no-reply@zabbix.com>2014-07-15 18:17:33 +0400
committerIgors Homjakovs <git-no-reply@zabbix.com>2014-07-15 18:17:33 +0400
commitba5cc1512e749fdc7d80ef6bf34b461077907ce7 (patch)
tree2566eb69a0fef4675de31ead6c43fb9e0b06d17d /include/zbxself.h
parentff440e9ba7c3e26de9f767067d582196d18772b4 (diff)
.......PS. [ZBXNEXT-101] various signal handling improvements
Diffstat (limited to 'include/zbxself.h')
-rw-r--r--include/zbxself.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/zbxself.h b/include/zbxself.h
index 0a0e5de95fe..baa80c4a1d9 100644
--- a/include/zbxself.h
+++ b/include/zbxself.h
@@ -50,18 +50,22 @@
#define ZBX_PROCESS_TYPE_SELFMON 19
#define ZBX_PROCESS_TYPE_VMWARE 20
#define ZBX_PROCESS_TYPE_COUNT 21 /* number of process types */
-#define ZBX_PROCESS_TYPE_ALL 22
-#define ZBX_PROCESS_TYPE_PID 23
#define ZBX_PROCESS_TYPE_UNKNOWN 255
+#define ZBX_RTC_LOG_SCOPE_FLAG 0x80
+#define ZBX_RTC_LOG_SCOPE_MASK 0x7f
+#define ZBX_RTC_LOG_SCOPE_PID 1
+#define ZBX_RTC_LOG_SCOPE_PROC 0
+
#define ZBX_AGGR_FUNC_ONE 0
#define ZBX_AGGR_FUNC_AVG 1
#define ZBX_AGGR_FUNC_MAX 2
#define ZBX_AGGR_FUNC_MIN 3
+int get_process_type_by_name(const char *proc_type_str);
+int get_process_type_func(char *proc_type_str);
int get_process_type_forks(unsigned char process_type);
const char *get_process_type_string(unsigned char process_type);
-int compare_process_type_string(char *proc_type_str);
void init_selfmon_collector(void);
void free_selfmon_collector(void);
void update_selfmon_counter(unsigned char state);