The Online Server Watcher monitors server availability at Online.net provider and sends an alert if the monitored servers are available.
The alert can be sent using either:
-
E-mail
-
Text message API provided by the French mobile provider Free (https://mobile.free.fr)
Copy the configuration file example and edit it to suit your needs
$ cp online_watcher/config-example.py online_watcher/config.py
-
Set the list of servers you want to watch by modifying parameter watcher_params.watched_servers
-
Set watcher_params.alert_via_text to False
-
Edit email_params.smtp_address for your provider SMTP address
-
Add your email in email_params.from and email_params.to
-
If your SMTP server requires authentication, fill in email_params.login and email_params.password
Warning
|
This option will only work if you are a client of Free mobile (https://mobile.free.fr) and have activated the service. A documentation on how to activate it is available in French here. |
-
Set watcher_params.alert_via_text to True
-
Set your personal user info in sms_params.user
-
Set your personal password in sms_params.pass