[go: nahoru, domu]

Skip to content

Python script to monitor services, dispatch SMS on fail, and attempt restart.

License

Notifications You must be signed in to change notification settings

glennzw/DevOops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python script to monitor services, dispatch SMS on fail, and attempt restart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages