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 'tests/zabbix_server/preprocessor/zbx_item_preproc.c')
-rw-r--r--tests/zabbix_server/preprocessor/zbx_item_preproc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/zabbix_server/preprocessor/zbx_item_preproc.c b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
index bd4114f1491..756fb608639 100644
--- a/tests/zabbix_server/preprocessor/zbx_item_preproc.c
+++ b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
@@ -70,6 +70,10 @@ static int str_to_preproc_type(const char *str)
return ZBX_PREPROC_THROTTLE_VALUE;
if (0 == strcmp(str, "ZBX_PREPROC_THROTTLE_TIMED_VALUE"))
return ZBX_PREPROC_THROTTLE_TIMED_VALUE;
+ if (0 == strcmp(str, "ZBX_PREPROC_PROMETHEUS_PATTERN"))
+ return ZBX_PREPROC_PROMETHEUS_PATTERN;
+ if (0 == strcmp(str, "ZBX_PREPROC_PROMETHEUS_TO_JSON"))
+ return ZBX_PREPROC_PROMETHEUS_TO_JSON;
fail_msg("unknow preprocessing step type: %s", str);
return FAIL;