diff options
Diffstat (limited to 'database/rrdcalctemplate.h')
-rw-r--r-- | database/rrdcalctemplate.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/database/rrdcalctemplate.h b/database/rrdcalctemplate.h index 676b4cf64..fb9347d73 100644 --- a/database/rrdcalctemplate.h +++ b/database/rrdcalctemplate.h @@ -21,6 +21,12 @@ struct rrdcalctemplate { char *family_match; SIMPLE_PATTERN *family_pattern; + char *plugin_match; + SIMPLE_PATTERN *plugin_pattern; + + char *module_match; + SIMPLE_PATTERN *module_pattern; + char *source; // the source of this alarm char *units; // the units of the alarm char *info; // a short description of the alarm @@ -59,6 +65,11 @@ struct rrdcalctemplate { uint32_t crit_repeat_every; // interval between repeating critical notifications // ------------------------------------------------------------------------ + // Labels settings + char *labels; // the label read from an alarm file + SIMPLE_PATTERN *splabels; // the simple pattern of labels + + // ------------------------------------------------------------------------ // expressions related to the alarm EVAL_EXPRESSION *calculation; |