diff options
Diffstat (limited to 'src/libs/zbxsysinfo/linux/linux.c')
-rw-r--r-- | src/libs/zbxsysinfo/linux/linux.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/linux/linux.c b/src/libs/zbxsysinfo/linux/linux.c index 6ccfffee..b187dbfe 100644 --- a/src/libs/zbxsysinfo/linux/linux.c +++ b/src/libs/zbxsysinfo/linux/linux.c @@ -90,8 +90,10 @@ int DISKWRITEBLKS15(const char *cmd, const char *parameter,double *value); int AGENT_PING(const char *cmd, const char *parameter,double *value); int VM_MEMORY_SHARED(const char *cmd, const char *parameter,double *value); int VM_MEMORY_TOTAL(const char *cmd, const char *parameter,double *value); + int PROC_NUM(const char *cmd, const char *parameter,double *value); -int PROC_MEMORY(const char *cmd, const char *param, double *value); +int PROC_MEMORY(const char *cmd, const char *param, double *value); + int PROCCOUNT(const char *cmd, const char *parameter,double *value); int SYSTEM_CPU_LOAD1(const char *cmd, const char *parameter,double *value); @@ -182,8 +184,8 @@ COMMAND parameters_specific[]= {"kernel.maxfiles]" ,KERNEL_MAXFILES, 0, 0}, {"kernel.maxproc" ,KERNEL_MAXPROC, 0, 0}, - {"proc.num[*]" ,PROC_NUM, 0, "inetd"}, - {"proc.mem[*]" ,PROC_MEMORY, 0, "inetd,root,sum"}, + {"proc.num[*]" ,PROC_NUM, 0, "inetd"}, + {"proc.mem[*]" ,PROC_MEMORY, 0, "inetd"}, {"vm.memory.total" ,VM_MEMORY_TOTAL, 0, 0}, {"vm.memory.shared" ,VM_MEMORY_SHARED, 0, 0}, |