-
Notifications
You must be signed in to change notification settings - Fork 0
Welcome to Monskype!
Monskype is minimalistic tool, which I use to observe status of my HTTP servers. It is completely written in Python, using Skype4Py library. Core is just 60 lines of code.
To use it with command-line please type python monitor.py. At first you should install Skype4Py 1.0.32.0
Configuration is quiet simple. Please look at config.py.
- Observe status (HTTP response code) of multiple HTTP servers and send notifications to multiple Skype users per server
- Send SMS via Skype
When monitor.py starts it's creating an instance of Skype4Py API, then loads configuration from config.py and creating instances of HTTPServerWatcher from watcher.py, providing to them AbstractNotifier implementation instances which supposed to construct and send messages to accounts enumerated in config.py.
HTTPServerWatcher extends abstract class AbstractServerWatcher, which provides you a framework for creating custom servers observers. It initialize and create Timer, which continuosly calls updateServerState method, which should test server state and set it using setServerState method.