#include "zbxsysinfo_common.h"
#include "zabbix_stats.h"
# define VFS_TEST_FILE "/etc/passwd"
# define VFS_TEST_REGEXP "root"
# define VFS_TEST_DIR "/var/log"
# define VFS_TEST_FILE "c:\\windows\\win.ini"
# define VFS_TEST_REGEXP "fonts"
# define VFS_TEST_DIR "c:\\windows"
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[] =
{"system.run", CF_HAVEPARAMS, SYSTEM_RUN_LOCAL, "echo test"},
ZBX_METRIC parameters_common[] =
{"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"},
{"vfs.file.exists", CF_HAVEPARAMS, VFS_FILE_EXISTS, VFS_TEST_FILE},