So I'm not sure if it should require sudo access, I note on the README page/an example or 2 would be nice. Anyways I've been able to get metrics-java-heap-graphite.rb to run on sensu but only by setting up:
Defaults:sensu !requiretty
sensu ALL = NOPASSWD:ALL
I've tried all sorts of combinations of files to allow like
sensu ALL = NOPASSWD: /opt/sensu/embedded/bin/metrics-java-heap-graphite.rb, /opt/sensu/embedded/bin/metrics-java-heap-graphite.sh
but I just can't seem to figure it out. Some help would be much appreciated
So I'm not sure if it should require sudo access, I note on the README page/an example or 2 would be nice. Anyways I've been able to get metrics-java-heap-graphite.rb to run on sensu but only by setting up:
I've tried all sorts of combinations of files to allow like
sensu ALL = NOPASSWD: /opt/sensu/embedded/bin/metrics-java-heap-graphite.rb, /opt/sensu/embedded/bin/metrics-java-heap-graphite.sh
but I just can't seem to figure it out. Some help would be much appreciated