]> arthur.barton.de Git - netdata.git/blobdiff - src/health.h
allow alarm templates to match patterns of chart families; fixes #1571
[netdata.git] / src / health.h
index 5b4d8538254447ede04abfa03a83422fa091de78..79831d4fc563257a24ce26cd7e9f42bad1036649 100644 (file)
@@ -232,6 +232,9 @@ typedef struct rrdcalctemplate {
     char *context;
     uint32_t hash_context;
 
+    char *family_match;
+    SIMPLE_PATTERN *family_pattern;
+
     char *source;                   // the source of this alarm
     char *units;                    // the units of the alarm
     char *info;                     // a short description of the alarm