bin/metrics-ipcs.rb in sensu-plugins-process-checks-4.0.0 vs bin/metrics-ipcs.rb in sensu-plugins-process-checks-4.0.1

- old
+ new

@@ -58,9 +58,10 @@ key = line.tr("-\n", '').strip.tr(' ', '-').downcase else result = line.match(/[[:space:]]*(?<name>[a-zA-Z ]*).*(?<value>\d+)/) output "#{config[:scheme]}.#{key}.#{result[:name].strip.tr(' ', '-')}", result[:value].strip end + found = true end if found ok else critical('Not found')