zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Watchdog for ARM systems

April 26, 2020 by Igor Drobot Leave a Comment

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.

[Read more…]

Filed Under: Bash, Linux, Monitoring, Programming Tagged With: bash, Linux, Monitoring, Python, watchdog

pipenv

March 1, 2020 by Igor Drobot Leave a Comment

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.

[Read more…]

Filed Under: Linux, Programming, Python Tagged With: pipenv, Python, virtualenv

SMTP debugging for Humans

January 30, 2020 by Igor Drobot Leave a Comment

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.

[Read more…]

Filed Under: Linux, Programming, Python Tagged With: Debug, Python, SMTP

Catch KeyboardInterrupt

December 2, 2019 by Igor Drobot 2 Comments

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…]

Filed Under: Programming, Python Tagged With: KeyboardInterrupt, Python, Python Exception

Tiny Tiny RSS reading stats

October 29, 2019 by Igor Drobot Leave a Comment

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…]

Filed Under: Linux Tagged With: grafana, influxdb, Python, RSS, Tiny Tiny RSS

  • 1
  • 2
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok