diff options
Diffstat (limited to 'src/libs/zbxsysinfo/common/http_metrics.c')
-rw-r--r-- | src/libs/zbxsysinfo/common/http_metrics.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libs/zbxsysinfo/common/http_metrics.c b/src/libs/zbxsysinfo/common/http_metrics.c new file mode 100644 index 00000000000..5d41a0f3d14 --- /dev/null +++ b/src/libs/zbxsysinfo/common/http_metrics.c @@ -0,0 +1,30 @@ +/* +** Zabbix +** Copyright (C) 2001-2021 Zabbix SIA +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +**/ + +#include "http.h" + +ZBX_METRIC parameters_common_http[] = +/* KEY FLAG FUNCTION TEST PARAMETERS */ +{ + {"web.page.get", CF_HAVEPARAMS, WEB_PAGE_GET, "localhost,,80"}, + {"web.page.perf", CF_HAVEPARAMS, WEB_PAGE_PERF, "localhost,,80"}, + {"web.page.regexp", CF_HAVEPARAMS, WEB_PAGE_REGEXP, "localhost,,80,OK"}, + + {NULL} +}; |