@cryptotaxi247 / netdata-1 / commits / 797bb83ef

fix proc collector: Undefined state DEGRADED for zpool (#11545)

elelayan committed Sep 21, 2021 at 18:24 UTC 797bb83efe09f454514535123ea36de25c816dad
1 file changed +1 -1
collectors/proc.plugin/proc_spl_kstat_zfs.c
+1 -1
@@ -6,7 +6,7 @@
6 #define ZFS_PROC_ARCSTATS "/proc/spl/kstat/zfs/arcstats"
7 #define ZFS_PROC_POOLS "/proc/spl/kstat/zfs"
8
9 -#define STATE_SIZE 8
9 +#define STATE_SIZE 9
10 #define MAX_CHART_ID 256
11
12 extern struct arcstats arcstats;