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

We should be able to check that a service is running #40

Open majormoses opened 7 years ago

majormoses commented 7 years ago

Rather than having to match the process's command with all its args etc we should have a seperate check to be able to check sysvinit, upstart, and systemd style services status.

Created from https://github.com/sensu-plugins/sensu-plugins-process-checks/issues/37#issuecomment-278681614

majormoses commented 7 years ago

runnit would also be a nice enhancement.

Evesy commented 7 years ago

Were you thinking of a single check that supports/runs against all these service managers (i.e. via a flag to specify the provider) or separate checks for each different service manager?

majormoses commented 7 years ago

ideally a flag would work but depending on how much difference there is it might make sense to do one per provider, if we go that route I'd like whatever common logic to be pushed into a lib.