Cron check fails for no reason

Thanks.

I figured out the issue and how to solve it.

Basically, ps only returns the current user’s process when user is non-root. This is because of OVH’s custom kernel with grsecurity. It took me a while to figure out why this was happening.

I installed a vanilla kernel and it’s working great now. Hopefully this will help someone in the future!

-c

···

On Sunday, June 2, 2013 10:50:43 PM UTC-4, Carl Mercier wrote:

Hi guys.

I just installed Sensu for the first time following the instructions on the website. I have the client and server on the same machine. I’m getting alerts this alert in the dashboard:

CheckProcs CRITICAL: Found 0 matching processes; cmd /cron/

Running the check manually in the console with ‘/etc/sensu/plugins/check-procs.rb -p cron -C 1’ reports that it’s running:

CheckProcs OK: Found 1 matching processes; cmd /cron/

What am I missing?

Thanks!

-c