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

Added check-tale script #2

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Added check-tale script #2

wants to merge 8 commits into from

Conversation

craig-willis
Copy link
Collaborator

@craig-willis craig-willis commented Jun 19, 2018

Implements check_mk part of whole-tale/terraform_deployment#7

Added check-tale local check to launch and delete a tale.

Run via CLI locally, the -d flag bypasses the Swarm master check:
python scripts/check-tale -s https://girder.prod.wholetale.org -k <girder api key> -t <tale ID> -d True
The script will ultimately be run via the check_mk container, so environment variables are required.

Note that the check_mk/local/3600 path in the entrypoint is part of the "cached local check" model described in https://mathias-kettner.de/checkmk_localchecks.html. In short, the tale check will only run every hour.

I've also configured on staging and am running an updated image wholetale/check_mk:ligo-test. Status can be seen via OMD.

@craig-willis
Copy link
Collaborator Author

Depends on whole-tale/girder_wholetale#100

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.

1 participant