Monitor that runs in the background to report the health status of Jarvis and its processes
* * * * * cd ~/JarvisMonitor && python run.pyGitHub workflow trigger is set to trigger on
pushagainstdocsbranch which will build GitHub pages.
| Process Name | Status |
|---|---|
| Jarvis | 🟢 |
| Jarvis API | 🟢 |
| Background Tasks | 🟢 |
| Speech Synthesis API | 🔴 |
Environment variables are case insensitive.
Mandatory
- source_map - Path to the processes.yaml file generated by Jarvis
- git_user - GitHub username to authenticate
GitPython - git_token - GitHub PAT to push changes using GH API and authenticate
GitPython
Optional
- debug - Any value to enable debug mode. Disabled by default.
- git_owner - GitHub owner for the account. Defaults to
thevickypedia - gmail_user - Gmail username to authenticate the account.
- gmail_pass - gmail password to authenticate the account.
- recipient - Email address to send an email notification.
- skip_schedule - Skip the monitoring schedule at a particular time. Example:
12:00 AM - check_performance - Boolean flag to check performance of each process. Defaults to
False - check_existing - Check existing
index.htmlfile for changes, before executingpush. Defaults toTrue - override_check - List of
minutesto set thecheck_existingflag asFalse. Defaults to[0](every hour) - log_retention - Number of days worth of logs to retain. Defaults to
3