Fix proc/interrupts parser (#11783)
maximethebault committed
Nov 15, 2021 at 09:15 UTC
06c735e7cd166193be3d82652fde2ed780bfb137
1 file changed
+1
-1
collectors/proc.plugin/proc_interrupts.c
+1
-1
@@ -65,7 +65,7 @@ int do_proc_interrupts(int update_every, usec_t dt) {
65
if(unlikely(!ff)) {
66
char filename[FILENAME_MAX + 1];
67
snprintfz(filename, FILENAME_MAX, "%s%s", netdata_configured_host_prefix, "/proc/interrupts");
68
- ff = procfile_open(config_get(CONFIG_SECTION_PLUGIN_PROC_INTERRUPTS, "filename to monitor", filename), " \t", PROCFILE_FLAG_DEFAULT);
68
+ ff = procfile_open(config_get(CONFIG_SECTION_PLUGIN_PROC_INTERRUPTS, "filename to monitor", filename), " \t:", PROCFILE_FLAG_DEFAULT);
69
}
70
if(unlikely(!ff))
71
return 1;