diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2015-06-12 16:19:38 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2015-06-12 16:19:38 +0300 |
commit | 96da72dd35890a80580e16f73a683bd3b1c07f94 (patch) | |
tree | 73343d7e506fbdbc6fca35500a86e950f2f5d51b /include/sysinfo.h | |
parent | d8dadb0df8014ec6fcacd049a03c12c48cac43db (diff) |
...G...... [ZBXNEXT-494] added support for proc.cpu.util key on Solaris platform
Diffstat (limited to 'include/sysinfo.h')
-rw-r--r-- | include/sysinfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index 461633ac505..0d805422aac 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -214,6 +214,11 @@ zbx_uint64_t get_kstat_numeric_value(const kstat_named_t *kn); int GET_SENSOR(AGENT_REQUEST *request, AGENT_RESULT *result); int KERNEL_MAXFILES(AGENT_REQUEST *request, AGENT_RESULT *result); int KERNEL_MAXPROC(AGENT_REQUEST *request, AGENT_RESULT *result); + +#ifdef ZBX_PROCSTAT_COLLECTOR +int PROC_CPU_UTIL(AGENT_REQUEST *request, AGENT_RESULT *result); +#endif + int PROC_MEM(AGENT_REQUEST *request, AGENT_RESULT *result); int PROC_NUM(AGENT_REQUEST *request, AGENT_RESULT *result); int NET_IF_IN(AGENT_REQUEST *request, AGENT_RESULT *result); |