This plugin provides native process instrumentation for monitoring and metrics collection, including: process status, uptime, thread count, and others.
We need to send a particular arg to checkrestart to filter out some
false positives.
This change allows for any additional args to be passed through - rather
than restricting to the current known args. We have allowed it for
checkrestart and the needs-restarting tool since we don't know for
sure what options needs-restarting can take.
Have also appeased rubocop in the command status checking.
We need to send a particular arg to checkrestart to filter out some false positives.
This change allows for any additional args to be passed through - rather than restricting to the current known args. We have allowed it for checkrestart and the needs-restarting tool since we don't know for sure what options needs-restarting can take.
Have also appeased rubocop in the command status checking.