Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glennzw/devoops
Python script to monitor services, dispatch SMS on fail, and attempt restart.
https://github.com/glennzw/devoops
Last synced: 11 days ago
JSON representation
Python script to monitor services, dispatch SMS on fail, and attempt restart.
- Host: GitHub
- URL: https://github.com/glennzw/devoops
- Owner: glennzw
- License: mit
- Created: 2017-04-27T11:13:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-27T11:46:33.000Z (over 7 years ago)
- Last Synced: 2024-10-14T12:23:07.080Z (24 days ago)
- Language: Python
- Size: 33.2 KB
- Stars: 120
- Watchers: 14
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# DevOops
DevOops will monitor Linux services for you and dispatch an SMS if they stop (and optionally attempt a restart). You'll need a ZenSend API key to use the SMS feature.
### Config File
Put your ZenSend SMS API key in here, and any phone numbers you want SMSs to be sent to. The Originator parameter will be the SMS sender name. Phone numbers need a country code, and multiple ones can be used with comma separation, eg:
```
[Numbers]
smsMe: 4455551111,445555222
```
### Services File
The services.json file determines what processes/services will be monitored. The "proc" parameter will be checked for in the running process list. The restart paramter is optional; if present, the command will be executed to attempt restart of the services.### Example SMS:
![alt text](https://raw.githubusercontent.com/glennzw/DevOops/b199c317506e393843d85b0c14da49a433a6ab74/example.jpg)