

Therefore you just need a Linux based PC with desktop environment, to complete the steps outlined in this article. What do you needĪll Linux desktop distributions come with Python preinstalled. Note that I am not affiliated with Textbelt.
#Website monitor sms how to
This article teaches you how to send an SMS from Python for free, using the Textbelt web API. After figuring out how to send an SMS from Python, I figured: “Why not share what I learned”. Therefore, you could use this approach at no additional cost. For server monitoring you typically do not expect daily issues. Best of all, Textbelt allows you to send one SMS from Python for free, each day. No need to create an account, simply prepay with PayPal. I found a really nice one called Textbelt. That left me with one more question: “How to send an SMS message using Python”? You need a third-party web API for this. Multiple options exist, such as a WhatsApp, a Telegram or an SMS message. Upon detection of a page title mismatch, I wanted to receive a notification on my phone. It loads the HTML of the front page, extracts the page title and compares it with the title that I expect.

The Python program runs periodically as a Cron-job on another server. It got me wondering though: “How can I be informed about similar issues”? I decided on writing a quick Python program for monitoring purposes. Digging a bit deeper, I concluded that the new plugin caused the problem. I quickly reverted back to the latest backup to limit downtime.

After about a week, I noticed that all of a sudden web pages no longer loaded properly. Not too long ago I experimented with a different WordPress caching plugin for this site. Great for server monitoring purposes, where you do not expect issue on a regular basis.
#Website monitor sms for free
Textbelt allows you to send one SMS for free every day. The demonstrated Python code to send an SMS, builds on the Textbelt web API. Simply copy-paste the function into your own Python program and voilà, you are all set. Curious about how you can send an SMS message from Python for free? This article presents a ready-made Python function to send an SMS message.
