summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin/sys_devices_system_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/proc.plugin/sys_devices_system_node.c')
-rw-r--r--collectors/proc.plugin/sys_devices_system_node.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/collectors/proc.plugin/sys_devices_system_node.c b/collectors/proc.plugin/sys_devices_system_node.c
index 6e6d0acca..ff408ed88 100644
--- a/collectors/proc.plugin/sys_devices_system_node.c
+++ b/collectors/proc.plugin/sys_devices_system_node.c
@@ -83,7 +83,8 @@ int do_proc_sys_devices_system_node(int update_every, usec_t dt) {
hash_numa_miss = simple_hash("numa_miss");
}
- if(do_numastat == CONFIG_BOOLEAN_YES || (do_numastat == CONFIG_BOOLEAN_AUTO && numa_node_count >= 2)) {
+ if(do_numastat == CONFIG_BOOLEAN_YES || (do_numastat == CONFIG_BOOLEAN_AUTO &&
+ (numa_node_count >= 2 || netdata_zero_metrics_enabled == CONFIG_BOOLEAN_YES))) {
for(m = numa_root; m; m = m->next) {
if(m->numastat_filename) {