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:
authorGlebs Ivanovskis <git-no-reply@zabbix.com>2015-09-07 17:24:08 +0300
committerGlebs Ivanovskis <git-no-reply@zabbix.com>2015-09-07 17:24:08 +0300
commita06985ca16cad52dffcb469fce3603f688a7d000 (patch)
tree314c035342822fcdf7a9e69267af8f68bbd5b414 /include/sysinfo.h
parentfe08b87ba602664c2de2d48bb9717bdd6111a3d4 (diff)
...G...PS. [ZBX-9258] added new process() flag to call it without alias substitution; this fixes the situation when aliases are substituted twice
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r--include/sysinfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h
index ebe1f202ae5..c8f78ba11e6 100644
--- a/include/sysinfo.h
+++ b/include/sysinfo.h
@@ -174,8 +174,9 @@ extern int CONFIG_UNSAFE_USER_PARAMETERS;
int get_diskstat(const char *devname, zbx_uint64_t *dstat);
/* flags for process */
-#define PROCESS_LOCAL_COMMAND 1
-#define PROCESS_MODULE_COMMAND 2
+#define PROCESS_LOCAL_COMMAND 0x1
+#define PROCESS_MODULE_COMMAND 0x2
+#define PROCESS_WITH_ALIAS 0x4
void init_metrics();
int add_metric(ZBX_METRIC *metric, char *error, size_t max_error_len);