diff options
author | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2021-10-08 14:52:18 +0300 |
---|---|---|
committer | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2021-10-08 17:15:28 +0300 |
commit | 0039036f930212e7184a174b963a3681cb61dd94 (patch) | |
tree | cba284b739f33fc51f569ef0883ce2ba015163cd /src/libs/zbxsysinfo/common/http_metrics.c | |
parent | 8804282a959bb4561717720d2358196016708889 (diff) |
...G...... [ZBX-20008] removed curl and ldap linkage from agent2
cherry-picked from 938d0afc139eb45eb6d8dfab67a0f57f45e35eee
conflicts:
tests/libs/zbxserver/Makefile.am
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} +}; |