0

I have added some checks in the sensu server and also subscribed for those checks, But the checks are not being seen in the UI for clients. Is it mandatory to add the checks in clients?

Kara
  • 6,115
  • 16
  • 50
  • 57
Vineesha.C
  • 333
  • 3
  • 13

1 Answers1

0

It is the normal thing to do. This is because the client, at the end, will only execute the "command" you specified for the particular check. This also implies that the command must be visible, i.e. in $PATH when "sensu" user tries to execute it (by default sensu adds /etc/sensu/plugins to $PATH).

I guess you could, in theory, reach the plugin from the clients accessing a mounted location pointing to the server, something like command='/net//path/to/script.sh -arguments'.

However, if you manage your infrastructure with something like Chef (you should, it's awesome) it should be easy to deploy the check scripts into the clients.

Enrique Arriaga
  • 499
  • 2
  • 6