diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-09-21 17:45:53 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-09-21 17:47:39 +0300 |
commit | 136675e9b0d2a216b1d6c0606eb03c4e3173640d (patch) | |
tree | 1369aa8aa167a047bc0989ca9731cfbe7954e64f /src/libs/zbxaudit/audit_host.h | |
parent | 20722cbeedbb5c8d5a47e63bcadb36dc479970b3 (diff) |
........S. [ZBX-19781] fixed server not linking host prototype inventory mode
Diffstat (limited to 'src/libs/zbxaudit/audit_host.h')
-rw-r--r-- | src/libs/zbxaudit/audit_host.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/zbxaudit/audit_host.h b/src/libs/zbxaudit/audit_host.h index f3e3fb8316f..e42cce09b48 100644 --- a/src/libs/zbxaudit/audit_host.h +++ b/src/libs/zbxaudit/audit_host.h @@ -104,7 +104,7 @@ PREPARE_AUDIT_HOST_UPDATE_H(custom_interfaces, int) #undef PREPARE_AUDIT_HOST_UPDATE_H void zbx_audit_host_update_json_delete_interface(zbx_uint64_t hostid, zbx_uint64_t interfaceid); - +void zbx_audit_host_prototype_update_json_delete_inventory_mode(zbx_uint64_t hostid); void zbx_audit_host_update_json_add_hostmacro(zbx_uint64_t hostid, zbx_uint64_t macroid, const char *macro, const char *value, const char *description, int type); @@ -140,7 +140,7 @@ void zbx_audit_host_update_json_add_details(zbx_uint64_t hostid, const char *hos const char *tls_psk_identity, const char *tls_psk, int custom_interfaces); void zbx_audit_host_prototype_del(zbx_uint64_t hostid, const char *hostname); void zbx_audit_host_prototype_update_json_add_details(zbx_uint64_t hostid, zbx_uint64_t templateid, const char *name, - int status, int discover, int custom_interfaces); + int status, int discover, int custom_interfaces, int inventory_mode); void zbx_audit_host_prototype_update_json_update_templateid(zbx_uint64_t hostid, zbx_uint64_t templateid_orig, zbx_uint64_t templateid); @@ -152,6 +152,7 @@ PREPARE_AUDIT_HOST_PROTOTYPE_UPDATE_H(name, const char*) PREPARE_AUDIT_HOST_PROTOTYPE_UPDATE_H(status, int) PREPARE_AUDIT_HOST_PROTOTYPE_UPDATE_H(discover, int) PREPARE_AUDIT_HOST_PROTOTYPE_UPDATE_H(custom_interfaces, int) +PREPARE_AUDIT_HOST_PROTOTYPE_UPDATE_H(inventory_mode, int) void zbx_audit_host_prototype_update_json_add_group_details(zbx_uint64_t hostid, zbx_uint64_t group_prototypeid, const char* name, zbx_uint64_t groupid, zbx_uint64_t templateid); |