"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/dbcache.h" between
zabbix-5.4.0.tar.gz and zabbix-5.4.1.tar.gz

About: ZABBIX is an enterprise-class distributed monitoring solution for servers and applications.

dbcache.h  (zabbix-5.4.0):dbcache.h  (zabbix-5.4.1)
skipping to change at line 167 skipping to change at line 167
unsigned char request_method; unsigned char request_method;
unsigned char output_format; unsigned char output_format;
unsigned char verify_peer; unsigned char verify_peer;
unsigned char verify_host; unsigned char verify_host;
unsigned char allow_traps; unsigned char allow_traps;
char key_orig[ITEM_KEY_LEN * ZBX_MAX_BYTES_IN_UTF8_CHA R + 1], *key; char key_orig[ITEM_KEY_LEN * ZBX_MAX_BYTES_IN_UTF8_CHA R + 1], *key;
char *units; char *units;
char *delay; char *delay;
int history_sec; int history_sec;
int trends_sec; int trends_sec;
int nextcheck;
int lastclock;
int mtime; int mtime;
char trapper_hosts[ITEM_TRAPPER_HOSTS_LEN_MAX]; char trapper_hosts[ITEM_TRAPPER_HOSTS_LEN_MAX];
char logtimefmt[ITEM_LOGTIMEFMT_LEN_MAX]; char logtimefmt[ITEM_LOGTIMEFMT_LEN_MAX];
char snmp_community_orig[ITEM_SNMP_COMMUNITY_LEN_MAX], *snmp_community; char snmp_community_orig[ITEM_SNMP_COMMUNITY_LEN_MAX], *snmp_community;
char snmp_oid_orig[ITEM_SNMP_OID_LEN_MAX], *snmp_oid; char snmp_oid_orig[ITEM_SNMP_OID_LEN_MAX], *snmp_oid;
char snmpv3_securityname_orig[ITEM_SNMPV3_SECURITYNAME _LEN_MAX], *snmpv3_securityname; char snmpv3_securityname_orig[ITEM_SNMPV3_SECURITYNAME _LEN_MAX], *snmpv3_securityname;
char snmpv3_authpassphrase_orig[ITEM_SNMPV3_AUTHPASSPH RASE_LEN_MAX], *snmpv3_authpassphrase; char snmpv3_authpassphrase_orig[ITEM_SNMPV3_AUTHPASSPH RASE_LEN_MAX], *snmpv3_authpassphrase;
char snmpv3_privpassphrase_orig[ITEM_SNMPV3_PRIVPASSPH RASE_LEN_MAX], *snmpv3_privpassphrase; char snmpv3_privpassphrase_orig[ITEM_SNMPV3_PRIVPASSPH RASE_LEN_MAX], *snmpv3_privpassphrase;
char ipmi_sensor[ITEM_IPMI_SENSOR_LEN_MAX]; char ipmi_sensor[ITEM_IPMI_SENSOR_LEN_MAX];
char *params; char *params;
skipping to change at line 653 skipping to change at line 651
void DCget_stats_all(zbx_wcache_info_t *wcache_info); void DCget_stats_all(zbx_wcache_info_t *wcache_info);
zbx_uint64_t DCget_nextid(const char *table_name, int num); zbx_uint64_t DCget_nextid(const char *table_name, int num);
/* initial sync, get all data */ /* initial sync, get all data */
#define ZBX_DBSYNC_INIT 0 #define ZBX_DBSYNC_INIT 0
/* update sync, get changed data */ /* update sync, get changed data */
#define ZBX_DBSYNC_UPDATE 1 #define ZBX_DBSYNC_UPDATE 1
#define ZBX_SYNC_SECRETS 2 #define ZBX_SYNC_SECRETS 2
#define ZBX_ITEM_GET_MISC 0x001
#define ZBX_ITEM_GET_DELAY 0x002
#define ZBX_ITEM_GET_EMPTY_ERROR 0x004
#define ZBX_ITEM_GET_NUM 0x008
#define ZBX_ITEM_GET_EMPTY_UNITS 0x010
#define ZBX_ITEM_GET_LOGTIMEFMT 0x020
#define ZBX_ITEM_GET_POLLINFO 0x040
#define ZBX_ITEM_GET_INTERFACE 0x080
#define ZBX_ITEM_GET_HOSTNAME 0x100
#define ZBX_ITEM_GET_HOSTINFO 0x200
#define ZBX_ITEM_GET_MAINTENANCE 0x400
#define ZBX_ITEM_GET_INVENTORY 0x800
#define ZBX_ITEM_GET_ALL (~(unsigned int)0)
#define ZBX_ITEM_GET_SYNC (ZBX_ITEM_GET_INVENTORY|ZBX_ITEM_GET_NUM)
#define ZBX_ITEM_GET_SYNC_EXPORT (ZBX_ITEM_GET_INVENTORY|ZBX_ITEM_GET_NUM|
ZBX_ITEM_GET_HOSTNAME)
#define ZBX_ITEM_GET_PROCESS (ZBX_ITEM_GET_MAINTENANCE|ZBX_ITEM_GET_MI
SC|ZBX_ITEM_GET_LOGTIMEFMT)
void DCsync_configuration(unsigned char mode, const struct zbx_json_parse *jp_ kvs_paths); void DCsync_configuration(unsigned char mode, const struct zbx_json_parse *jp_ kvs_paths);
int init_configuration_cache(char **error); int init_configuration_cache(char **error);
void free_configuration_cache(void); void free_configuration_cache(void);
void DCconfig_get_triggers_by_triggerids(DC_TRIGGER *triggers, const zbx_uint6 4_t *triggerids, int *errcode, void DCconfig_get_triggers_by_triggerids(DC_TRIGGER *triggers, const zbx_uint6 4_t *triggerids, int *errcode,
size_t num); size_t num);
void DCconfig_clean_items(DC_ITEM *items, int *errcodes, size_t num); void DCconfig_clean_items(DC_ITEM *items, int *errcodes, size_t num);
int DCget_host_by_hostid(DC_HOST *host, zbx_uint64_t hostid); int DCget_host_by_hostid(DC_HOST *host, zbx_uint64_t hostid);
int DCconfig_get_hostid_by_name(const char *host, zbx_uint64_t *hostid); int DCconfig_get_hostid_by_name(const char *host, zbx_uint64_t *hostid);
void DCconfig_get_hosts_by_itemids(DC_HOST *hosts, const zbx_uint64_t *itemids , int *errcodes, size_t num); void DCconfig_get_hosts_by_itemids(DC_HOST *hosts, const zbx_uint64_t *itemids , int *errcodes, size_t num);
void DCconfig_get_items_by_keys(DC_ITEM *items, zbx_host_key_t *keys, int *err codes, size_t num); void DCconfig_get_items_by_keys(DC_ITEM *items, zbx_host_key_t *keys, int *err codes, size_t num);
void DCconfig_get_items_by_itemids(DC_ITEM *items, const zbx_uint64_t *itemids , int *errcodes, size_t num); void DCconfig_get_items_by_itemids(DC_ITEM *items, const zbx_uint64_t *itemids , int *errcodes, size_t num);
void DCconfig_get_items_by_itemids_partial(DC_ITEM *items, const zbx_uint64_t
*itemids, int *errcodes, size_t num,
unsigned int mode);
void DCconfig_get_preprocessable_items(zbx_hashset_t *items, int *timestamp); void DCconfig_get_preprocessable_items(zbx_hashset_t *items, int *timestamp);
void DCconfig_get_functions_by_functionids(DC_FUNCTION *functions, void DCconfig_get_functions_by_functionids(DC_FUNCTION *functions,
zbx_uint64_t *functionids, int *errcodes, size_t num); zbx_uint64_t *functionids, int *errcodes, size_t num);
void DCconfig_clean_functions(DC_FUNCTION *functions, int *errcodes, size_t nu m); void DCconfig_clean_functions(DC_FUNCTION *functions, int *errcodes, size_t nu m);
void DCconfig_clean_triggers(DC_TRIGGER *triggers, int *errcodes, size_t num); void DCconfig_clean_triggers(DC_TRIGGER *triggers, int *errcodes, size_t num);
int DCconfig_lock_triggers_by_history_items(zbx_vector_ptr_t *history_items, zbx_vector_uint64_t *triggerids); int DCconfig_lock_triggers_by_history_items(zbx_vector_ptr_t *history_items, zbx_vector_uint64_t *triggerids);
void DCconfig_lock_triggers_by_triggerids(zbx_vector_uint64_t *triggerids_in, zbx_vector_uint64_t *triggerids_out); void DCconfig_lock_triggers_by_triggerids(zbx_vector_uint64_t *triggerids_in, zbx_vector_uint64_t *triggerids_out);
void DCconfig_unlock_triggers(const zbx_vector_uint64_t *triggerids); void DCconfig_unlock_triggers(const zbx_vector_uint64_t *triggerids);
void DCconfig_unlock_all_triggers(void); void DCconfig_unlock_all_triggers(void);
void DCconfig_get_triggers_by_itemids(zbx_hashset_t *trigger_info, zbx_vector_ ptr_t *trigger_order, void DCconfig_get_triggers_by_itemids(zbx_hashset_t *trigger_info, zbx_vector_ ptr_t *trigger_order,
 End of changes. 3 change blocks. 
2 lines changed or deleted 25 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)