diff options
Diffstat (limited to 'src/libs/zbxsysinfo/openbsd/openbsd.c')
-rw-r--r-- | src/libs/zbxsysinfo/openbsd/openbsd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/openbsd/openbsd.c b/src/libs/zbxsysinfo/openbsd/openbsd.c index 71da5581..b187dbfe 100644 --- a/src/libs/zbxsysinfo/openbsd/openbsd.c +++ b/src/libs/zbxsysinfo/openbsd/openbsd.c @@ -90,7 +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 PROCCOUNT(const char *cmd, const char *parameter,double *value); int SYSTEM_CPU_LOAD1(const char *cmd, const char *parameter,double *value); @@ -181,7 +184,8 @@ COMMAND parameters_specific[]= {"kernel.maxfiles]" ,KERNEL_MAXFILES, 0, 0}, {"kernel.maxproc" ,KERNEL_MAXPROC, 0, 0}, - {"proc.num[*]" ,PROC_NUM, 0, "inetd"}, + {"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}, |