summaryrefslogtreecommitdiffstats
path: root/collectors/all.h
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2018-12-13 19:12:12 +0200
committerGitHub <noreply@github.com>2018-12-13 19:12:12 +0200
commitf810850c6b8176c7d6819d724a11559254d81cd5 (patch)
tree8c67572eeac67e69199d548ba41b26655e22e0c0 /collectors/all.h
parent2e6d26bafd5ce00b47d098a045a1d9c4f2d84936 (diff)
Add support for nonredundant arrays (#4923)
* Add support for nonredundant arrays * Change charts representation and add an alarm * Minor cleanup for chart priorities * Add configuration options * Make charts obsolete when raid diappears * Fix small bugs, add config option for making charts obsolete * Fix mdstat parsing
Diffstat (limited to 'collectors/all.h')
-rw-r--r--collectors/all.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/collectors/all.h b/collectors/all.h
index 0e55965229..7817d89bfe 100644
--- a/collectors/all.h
+++ b/collectors/all.h
@@ -301,11 +301,12 @@
// MDSTAT
#define NETDATA_CHART_PRIO_MDSTAT_HEALTH 9000
-#define NETDATA_CHART_PRIO_MDSTAT_DISKS 9001 // 5 charts per raid
-#define NETDATA_CHART_PRIO_MDSTAT_MISMATCH 9002
-#define NETDATA_CHART_PRIO_MDSTAT_OPERATION 9003
-#define NETDATA_CHART_PRIO_MDSTAT_FINISH 9004
-#define NETDATA_CHART_PRIO_MDSTAT_SPEED 9005
+#define NETDATA_CHART_PRIO_MDSTAT_NONREDUNDANT 9001
+#define NETDATA_CHART_PRIO_MDSTAT_DISKS 9002 // 5 charts per raid
+#define NETDATA_CHART_PRIO_MDSTAT_MISMATCH 9003
+#define NETDATA_CHART_PRIO_MDSTAT_OPERATION 9004
+#define NETDATA_CHART_PRIO_MDSTAT_FINISH 9005
+#define NETDATA_CHART_PRIO_MDSTAT_SPEED 9006
// Linux Power Supply
#define NETDATA_CHART_PRIO_POWER_SUPPLY_CAPACITY 9500 // 4 charts per power supply