Ping The Thing
Simple Python script for your Raspi to check if all your devices are up. It is sending a warning mail if not.
If there is a problem with one of these devices I would like to know it as soon as possible. I'm more the e-mail type and not the GSM type :). So I need a warning mail if something is amiss.
Fortunately a simple Python script running on a Raspi (e.g. the pihole raspi) or other server can help.
We install a mail program and start the script at boot time. You have only to add your device list with the corresponding IP addresses to the script.
All infos on: http://weigu.lu/other_projects/python_coding/ping_the_thing/index.html
Code on: https://github.com/weigu1/ping_the_thing
Want to build a project?
Bring your design to life with the Elektor PCB Service, powered by Eurocircuits. Upload the project files and order professionally manufactured PCBs or assembled boards through a proven European production platform.
Supporting KiCad, Eagle, Gerber, and ODB++ formats, the service is suitable for everything from prototypes and validation builds to series production and volume manufacturing.
Made in Europe. Fast. Reliable. Professional.

Discussion (0 comments)