CheckChefServer UNKNOWN: check-chef-server must be run with elevated privileges so that chef-server-ctl can be executed
templ3ofD00m opened this issue · comments
Docs mention this explicitly but how is the check supposed to be configured for check-chef-server.rb. As far as I can tell my sensu user is in the sudo group and should be able to run this command without an issue. Is there something else that needs to be appended to the command field in the check?
sensuctl version 6.7.4+ee
sensu-agent version 6.7.4+ee
"sensu_backend":"6.7.4"
type: CheckConfig api_version: core/v2 metadata: created_by: admin labels: sensu.io/managed_by: sensuctl name: chef_status namespace: default spec: check_hooks: null command: check-chef-server.rb