sensu-plugins / sensu-plugins-process-checks

This plugin provides native process instrumentation for monitoring and metrics collection, including: process status, uptime, thread count, and others.
http://sensu-plugins.io
MIT License
20 stars 55 forks source link

check-process.rb: Add verbose option to show what was actually matched #108

Open axos88 opened 4 years ago

axos88 commented 4 years ago

So basically I keep having false alerts when trying to match that only 1 process of a particular command is running. I'm guessing the other processes are the checks themselves that seem to be running in parallel for some reason?

Can you please add a verbose flag that instead of saying that it found 2 or 3 processes matching the criteria, it would actually list them, similar to ps? process id, command, user, start, and whatever other info that seems informational?