diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-03-11 10:49:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 10:49:21 +0200 |
commit | 4566c0835e99d1b00542ddbc1600450eb61a6a70 (patch) | |
tree | e3fed3b41fdcc53f59b2248ac08d5c50da02aeab /health/health.h | |
parent | d752b3e8b74ecf9f384b3e72e1284826d4ceb72a (diff) |
Only store alert hashes once per health config iteration (#12292)
* only store alert hashes when iterated from localhost
* store hashes on start and health reload, at least for one pass of a host
Diffstat (limited to 'health/health.h')
-rw-r--r-- | health/health.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/health/health.h b/health/health.h index 323279bac3..f25ae6bc63 100644 --- a/health/health.h +++ b/health/health.h @@ -87,6 +87,7 @@ extern void *health_cmdapi_thread(void *ptr); extern void health_label_log_save(RRDHOST *host); extern char *health_edit_command_from_source(const char *source); +extern void sql_refresh_hashes(void); extern SIMPLE_PATTERN *health_pattern_from_foreach(char *s); |