I installed the Sensu client using chef.
If I run “check-fs-writable” without sudo it will give me a “Permission denied” root access error.
But when I do use sudo it will give me a “no tty present” error.
After I modified “/etc/sudoer.d/sensu” using https://groups.google.com/forum/#!topic/sensu-users/7NXbaoPhyxM as a guide, it will give me a “/usr/bin/ruby: env” error.
Also I’m “/etc/default/sensu” has embedded ruby set to true.