summaryrefslogtreecommitdiffstats
path: root/web/api/formatters/charts2json.c
diff options
context:
space:
mode:
Diffstat (limited to 'web/api/formatters/charts2json.c')
-rw-r--r--web/api/formatters/charts2json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/api/formatters/charts2json.c b/web/api/formatters/charts2json.c
index e4e2f4dfa..db3ef37ea 100644
--- a/web/api/formatters/charts2json.c
+++ b/web/api/formatters/charts2json.c
@@ -54,6 +54,7 @@ void charts2json(RRDHOST *host, BUFFER *wb) {
",\n\t\"timezone\": \"%s\""
",\n\t\"update_every\": %d"
",\n\t\"history\": %ld"
+ ",\n\t\"memory_mode\": \"%s\""
",\n\t\"custom_info\": \"%s\""
",\n\t\"charts\": {"
, host->hostname
@@ -63,6 +64,7 @@ void charts2json(RRDHOST *host, BUFFER *wb) {
, host->timezone
, host->rrd_update_every
, host->rrd_history_entries
+ , rrd_memory_mode_name(host->rrd_memory_mode)
, custom_dashboard_info_js_filename
);