Watchdog is responsible for monitoring tiny systems like raspberry PI, BeagleBone or any other system.
The main functionality of the watchdog is to check, if the system is still responding, lets say, to keep-alive messages.
Let’s assume, the system is stuck in a kernel panic, this will be automatically restarted by watchdog after reaching a grace time period. So a manual rebooting by unplugging the DC adapter is not required at all.
pipenv
Virtualenv was for me until 2020 a python-default tool for creating isolated virtual environments for python projects.
Virtualenv was always easy to handle and known as a mature pythonic tool under python developers.
But now, I think pipenv is stable and known enough to switch to it.
SMTP debugging for Humans
A lot of different tools are around the internet which can be useful to determine different SMTP troubles.
The most of them are very useful but they are all reachable over the internet and don’t provide any kind of API for integration of monitoring or complex integration in (pre)deployment pipelines.
This is a short overview of some command line tools for developers and administrators, to check the e-mail flow during developing, emulate and intercept outgoing emails and afterwards for maintaining the setups.
Catch KeyboardInterrupt
CONTROL + C is the magic key combination to stop any execution at the command line. The execution stops immediately and in worst case you see something like ^C as the output of your running command.
If you stop the execution of any Python-Program, the output will be a bit unordinary and in the most cases, annoying. Because your Terminal gets flooded and you will get an Exception:
[Read more…]Tiny Tiny RSS reading stats
I wrote since 2013 a lot [1][2] about self hosted Tiny Tiny RSS Feed reader and this one is still alive and rung pretty smoothly :)
A couple weeks ago a wrote the following dirty-python-script to read out over the Tiny Tiny RSS API the amount of unread feeds for better reading control. The output of it is running into telegraf which sends the data to an influxdb which can be pretty visualised by grafana.
[Read more…]