Python backup script revisited

Here I wrote about my initial attempts with Python. I started with a backup script for my home-computer because that’s what I needed at the time. Now I’m reviewing and tweaking it.

My considerations at the time of writing the initial script were:

  • It should check if the …
more ...

New blog powered by pelican

I changed my blogging platform from Wordpress to Pelican. Pelican is a static html generator written in Python. I also changed the whole design. It’s a bootstrap-theme with some little modifications.

The reason I changed from Wordpress is the effort to maintain a secure and up-to-date installation opposed to …

more ...

Python script to check last exec time and exit code of script

I needed a script that checks:

  • whether a cronjob ran at its determined date (that means it runs regularly)
  • if the cronjob ran successfully

It should also be monitor-able via Nagios. That means, it should provide a meaningful output for when something went wrong with the cronjob, e.g. “CRITICAL: cronjob did not run!”

Of course, someone already had the same requirements and built a Perl-script for it, which in turn can be used as a NRPE-plugin.

more ...