https://github.com/red5d/stderr-notify
https://github.com/red5d/stderr-notify
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/red5d/stderr-notify
- Owner: Red5d
- Created: 2023-06-08T03:24:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-09T01:39:59.000Z (about 3 years ago)
- Last Synced: 2025-03-02T18:33:54.405Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stderr-notify
A set of example scripts for building an automation monitoring solution.
To use,
1. Clone this repo
2. Add your automation script
3. Edit start.sh to run your script instead of "automation.py" and change "thisAutomation" to whatever you name the folder instead of "stderr-notify"
4. Edit stderr_mon/handleErrors.sh to run your notification script instead of "email-errors.py"
5. Edit stderr_mon.conf and change the three notification information values to ones that make sense for your automation.
6. Run the automation in a docker container as shown below, replacing the paths and image name with your own.
> docker run --rm -v /path/to/thisAutomation:/thisAutomation /thisAutomation/start.sh