Failed to validate windows-system-stats-monitor.json configuration: ProcPath /proc check failed #747
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
I noticed this issue when I was running NPD on Windows: when trying to run
systemstatsmonitor
, I get the following failure:After digging for a while, I found that this failure comes from
node-problem-detector/pkg/systemstatsmonitor/types/config.go
Line 138 in 6e57ca6
It seems that we try to check the proc file on all platforms, and this is a problem because it doesn't apply for Windows.
This change was introduced in #594.
There are a couple of fixes I can think of:
/proc
value (node-problem-detector/pkg/systemstatsmonitor/types/config.go
Line 111 in 6e57ca6
The text was updated successfully, but these errors were encountered: