Skip to content

Trigger python script #338

Closed Answered by TwiN
Marzocchi666 asked this question in Q&A
Oct 6, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

This is currently "kind of" possible by using external endpoints to push status instead of having Gatus be the one to run the script.

See By default, the configuration file is expected to be at config/config.yaml.

You can specify a custom path by setting the GATUS_CONFIG_PATH environment variable.

If GATUS_CONFIG_PATH points to a directory, all *.yaml and *.yml files inside said directory and its subdirectories are merged like so:

All maps/objects are deep merged (i.e. you could define alerting.slack in one file and alerting.pagerduty in another file)
All slices/arrays are appended (i.e. you can define endpoints in multiple files and each endpoint will be added to the final list of endpoi…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Marzocchi666
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by TwiN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants