diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2020-08-28 10:53:42 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2020-08-28 11:11:02 +0300 |
commit | 3b6e07d1ec2ebb46ebe5294da2a71f362c6a5c1c (patch) | |
tree | 7f1b166d21c6a822b4b5c7e0deb6c15c37ee6636 /include/zbxlld.h | |
parent | 7fcb4908ac42281568e4e85f3adefe4a9b6ecd5e (diff) |
.......PS. [ZBXNEXT-6167] added diaginfo runtime command to log internal diagnostic information
* commit 'b9d85eedee7431f9204ac3a00eea559b81486ae7': (45 commits)
.D........ [ZBXNEXT-6167] updated server and proxy man pages
.D........ [ZBXNEXT-6167] added changelog entry
.......PS. [ZBXNEXT-6167] don't allow runtime command on Zabbix agentd
.......PS. [ZBXNEXT-6167] style fix
.......PS. [ZBXNEXT-6167] style fix
.......PS. [ZBXNEXT-6167] simplified main process waiting for dead children
.......PS. [ZBXNEXT-6167] added missing include file, more defines
.......PS. [ZBXNEXT-6167] added diaginfo remote command suppor to proxy
.......PS. [ZBXNEXT-6167] added comments, minor refactoring
........S. [ZBXNEXT-6167] added remote command support for diaginfo printing on server
.......PS. [ZBXNEXT-6167] small style fixes
........S. [ZBXNEXT-6167] fixed value cache diagnostics retrieval with disabled value cache
.......PS. [ZBXNEXT-6167] fixed vector not being destroyed on failure
.......PS. [ZBXNEXT-6167] fixed vector not being destroyed on failure
.......PS. [ZBXNEXT-6167] fixed warning
.......PS. [ZBXNEXT-6167] fixed memory leak
........S. [ZBXNEXT-6167] fixed memory leak
........S. [ZBXNEXT-6167] fixed wrong type used when serializing lld top result
........S. [ZBXNEXT-6167] small style fix
........S. [ZBXNEXT-6167] small style fixes
...
(cherry picked from commit dabac74c51a9d19db24c871f7f8ec247ac540eeb)
Diffstat (limited to 'include/zbxlld.h')
-rw-r--r-- | include/zbxlld.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zbxlld.h b/include/zbxlld.h index d7016bfd730..639389ea92f 100644 --- a/include/zbxlld.h +++ b/include/zbxlld.h @@ -21,6 +21,7 @@ #define ZABBIX_LLD_H #include "common.h" +#include "zbxalgo.h" void zbx_lld_process_value(zbx_uint64_t itemid, const char *value, const zbx_timespec_t *ts, unsigned char meta, zbx_uint64_t lastlogsize, int mtime, const char *error); @@ -29,4 +30,8 @@ void zbx_lld_process_agent_result(zbx_uint64_t itemid, AGENT_RESULT *result, zbx int zbx_lld_get_queue_size(zbx_uint64_t *size, char **error); +int zbx_lld_get_diag_stats(zbx_uint64_t *items_num, zbx_uint64_t *values_num, char **error); + +int zbx_lld_get_top_items(int limit, zbx_vector_uint64_pair_t *items, char **error); + #endif /* ZABBIX_LLD_H */ |