Source
zabbix_log(LOG_LEVEL_WARNING, "Remote command [%s] result is not unsigned integer", command);
/*
** Zabbix
** Copyright (C) 2001-2025 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.
**/
extern int CONFIG_TIMEOUT;
static int ONLY_ACTIVE(AGENT_REQUEST *request, AGENT_RESULT *result);
static int SYSTEM_RUN(AGENT_REQUEST *request, AGENT_RESULT *result);
static int SYSTEM_RUN_LOCAL(AGENT_REQUEST *request, AGENT_RESULT *result);
ZBX_METRIC parameters_common_local[] =
/* KEY FLAG FUNCTION TEST PARAMETERS */
{
{"system.run", CF_HAVEPARAMS, SYSTEM_RUN_LOCAL, "echo test"},
{NULL}
};
ZBX_METRIC parameters_common[] =
/* KEY FLAG FUNCTION TEST PARAMETERS */
{
{"system.localtime", CF_HAVEPARAMS, SYSTEM_LOCALTIME, "utc"},
{"system.run", CF_HAVEPARAMS, SYSTEM_RUN, "echo test"},
{"vfs.file.size", CF_HAVEPARAMS, VFS_FILE_SIZE, VFS_TEST_FILE},
{"vfs.file.time", CF_HAVEPARAMS, VFS_FILE_TIME, VFS_TEST_FILE ",modify"},