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 'src/libs/zbxsysinfo/linux/kernel.c')
-rw-r--r--src/libs/zbxsysinfo/linux/kernel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/linux/kernel.c b/src/libs/zbxsysinfo/linux/kernel.c
index 334946f331c..54297a0fbed 100644
--- a/src/libs/zbxsysinfo/linux/kernel.c
+++ b/src/libs/zbxsysinfo/linux/kernel.c
@@ -18,6 +18,7 @@
**/
#include "zbxsysinfo.h"
+#include "../sysinfo.h"
static int read_uint64_from_procfs(const char *path, int first_num, zbx_uint64_t *value)
{
@@ -46,7 +47,7 @@ static int read_uint64_from_procfs(const char *path, int first_num, zbx_uint64_t
return ret;
}
-int KERNEL_MAXFILES(AGENT_REQUEST *request, AGENT_RESULT *result)
+int kernel_maxfiles(AGENT_REQUEST *request, AGENT_RESULT *result)
{
zbx_uint64_t value;
@@ -63,7 +64,7 @@ int KERNEL_MAXFILES(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int KERNEL_MAXPROC(AGENT_REQUEST *request, AGENT_RESULT *result)
+int kernel_maxproc(AGENT_REQUEST *request, AGENT_RESULT *result)
{
zbx_uint64_t value;
@@ -80,7 +81,7 @@ int KERNEL_MAXPROC(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int KERNEL_OPENFILES(AGENT_REQUEST *request, AGENT_RESULT *result)
+int kernel_openfiles(AGENT_REQUEST *request, AGENT_RESULT *result)
{
zbx_uint64_t value;