summaryrefslogtreecommitdiffstats
path: root/health/health.h
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2021-03-26 11:34:23 +0200
committerGitHub <noreply@github.com>2021-03-26 11:34:23 +0200
commit5510b429a642eb2abd8f9831ac98116c4f473325 (patch)
tree3cb94c8737b316cfd2d31bab2ca71844f4f93373 /health/health.h
parentf3881e1cd1d2e67275ea4a66760c742b14ac430a (diff)
Add a new parameter 'chart' to the /api/v1/alarm_log. (#10788)
* add a chart parameter to api alarm_log * Use hash_chart instead * also do the strcmp * cleaner? * save an if * move simple_hash out of the loop * Changed if * formatting changes * fix formating
Diffstat (limited to 'health/health.h')
-rw-r--r--health/health.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.h b/health/health.h
index 5281e16e3c..07ce1311e2 100644
--- a/health/health.h
+++ b/health/health.h
@@ -64,7 +64,7 @@ extern int health_variable_lookup(const char *variable, uint32_t hash, RRDCALC *
extern void health_aggregate_alarms(RRDHOST *host, BUFFER *wb, BUFFER* context, RRDCALC_STATUS status);
extern void health_alarms2json(RRDHOST *host, BUFFER *wb, int all);
extern void health_alarms_values2json(RRDHOST *host, BUFFER *wb, int all);
-extern void health_alarm_log2json(RRDHOST *host, BUFFER *wb, uint32_t after);
+extern void health_alarm_log2json(RRDHOST *host, BUFFER *wb, uint32_t after, char *chart);
void health_api_v1_chart_variables2json(RRDSET *st, BUFFER *buf);
void health_api_v1_chart_custom_variables2json(RRDSET *st, BUFFER *buf);