Python Tutorial: Write a Script to Monitor a Website, Send Alert Emails, and Reboot Servers

Your video will begin in 20
Skip ad (5)
ebook offerts

Thanks! Share it with your friends!

You disliked this video. Thanks for the feedback!

Added by admin
172 Views
In this Python Programming Tutorial, we're going to be looking at a real-world example of writing a script to monitor a website. If the website doesn't return a successful response for any reason then we will send an email and reboot the web server. Let's get started...

The code from this video (with added logging) can be found at:
http://bit.ly/monitor-script

Google Account Settings:
https://myaccount.google.com/lesssecureapps
https://myaccount.google.com/apppasswords

Requests Video - https://youtu.be/tb8gHvYlCFs

Environment Variables (Windows) - https://youtu.be/IolxqkL7cD8
Environment Variables (Mac and Linux) - https://youtu.be/5iWhQWVXosU

Try/Except Video - https://youtu.be/NIWwJbo-9_8

F-String Video - https://youtu.be/nghuHvKLhJA

Crontab Video - https://youtu.be/QZJ1drMQz1A


If you enjoy these videos and would like to support my channel, I would greatly appreciate any assistance through my Patreon account:
https://www.patreon.com/coreyms

Or a one-time contribution through PayPal:
https://goo.gl/649HFY

If you would like to see additional ways in which you can support the channel, you can check out my support page:
http://coreyms.com/support/

Equipment I use and books I recommend:
https://www.amazon.com/shop/coreyschafer

You can find me on:
My website - http://coreyms.com/
Facebook - https://www.facebook.com/CoreyMSchafer
Twitter - https://twitter.com/CoreyMSchafer
Google Plus - https://plus.google.com/+CoreySchafer44/posts
Instagram - https://www.instagram.com/coreymschafer/

#Python
Category
World Tutorials Country A - L World Tutorials Country N - T

Post your comment

Comments

Be the first to comment