diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-17 09:30:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-17 09:30:20 +0000 |
commit | 386ccdd61e8256c8b21ee27ee2fc12438fc5ca98 (patch) | |
tree | c9fbcacdb01f029f46133a5ba7ecd610c2bcb041 /database/rrdcalc.h | |
parent | Adding upstream version 1.42.4. (diff) | |
download | netdata-upstream/1.43.0.tar.xz netdata-upstream/1.43.0.zip |
Adding upstream version 1.43.0.upstream/1.43.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'database/rrdcalc.h')
-rw-r--r-- | database/rrdcalc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/database/rrdcalc.h b/database/rrdcalc.h index 2081452c7..71f43633c 100644 --- a/database/rrdcalc.h +++ b/database/rrdcalc.h @@ -64,8 +64,10 @@ struct rrdcalc { STRING *source; // the source of this alarm STRING *units; // the units of the alarm + STRING *summary; // a short alert summary + STRING *original_summary; // the original summary field before any variable replacement STRING *original_info; // the original info field before any variable replacement - STRING *info; // a short description of the alarm + STRING *info; // a description of the alarm int update_every; // update frequency for the alarm @@ -170,6 +172,8 @@ struct rrdcalc { #define rrdcalc_module_match(rc) string2str((rc)->module_match) #define rrdcalc_source(rc) string2str((rc)->source) #define rrdcalc_units(rc) string2str((rc)->units) +#define rrdcalc_original_summary(rc) string2str((rc)->original_summary) +#define rrdcalc_summary(rc) string2str((rc)->summary) #define rrdcalc_original_info(rc) string2str((rc)->original_info) #define rrdcalc_info(rc) string2str((rc)->info) #define rrdcalc_dimensions(rc) string2str((rc)->dimensions) @@ -192,7 +196,6 @@ struct alert_config { STRING *os; STRING *host; STRING *on; - STRING *families; STRING *plugin; STRING *module; STRING *charts; @@ -206,6 +209,7 @@ struct alert_config { STRING *exec; STRING *to; STRING *units; + STRING *summary; STRING *info; STRING *classification; STRING *component; |