Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server side checks #40

Merged

Conversation

EvaSDK
Copy link

@EvaSDK EvaSDK commented Apr 4, 2017

According to Sensu documentation, sensu-server is responsible for distributing checks, while clients may have their own local checks. Make sure the formula can deal with it.

I am in the process of splitting a mono server installation and there is no guarantee that a client will run on the same machine as the server so I need this to work as documented in upstream documentation. I also found some other oddities of the same kind but this is my main problem right now.

@EvaSDK EvaSDK force-pushed the add-server-side-checks branch 2 times, most recently from 325bf55 to 18f935a Compare April 10, 2017 15:51
According to Sensu documentation [1], sensu-server is responsible for
distributing checks, while clients may have their own local checks.
Make sure the formula can deal with it.

Move chunk in client.sls to allow easier diff with server.sls.

[1] https://sensuapp.org/docs/0.28/overview/architecture.html#check-execution-scheduler
Move service handling at the same position for easier diff reading.
client and server state can be present on the same node.

Use names found in the documentation of Sensu for better understanding.
@powellchristoph
Copy link

Just to clarify @EvaSDK , this PR:

  1. Adds support for stand-alone checks which are executed by the clients on a schedule.
  2. Moves the actual client checks json file rendering the server.sls (which I should have put it in originally)

@EvaSDK
Copy link
Author

EvaSDK commented Jul 24, 2017

Basically yes. You could see it the other way around, it all depends on which state you included for your nodes.

@powellchristoph powellchristoph merged commit 72ea177 into saltstack-formulas:master Jul 24, 2017
@EvaSDK EvaSDK deleted the add-server-side-checks branch October 17, 2017 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants