TermFunk: Bridging the gap between Python and the terminal

If you have been a systems engineer or sysadmin for some time you have probably written and gathered a collection of shell scripts to solve your day to day chores. Shell is a powerful language but (arguably) it's syntax is arcane and scripts can become hard to read and maintain once they grow in size and logic.

TermFunk is a lightweight framework to organize, access and execute Python code from the terminal. Its aim is to bridge the gap between Python and your terminal by removing all the necessary boilerplate to access functions and their arguments using auto-completion.

In this article we will create a CLI tool to validate JSON and YAML files using Python and TermFunk.

more ...




Anything to MQTT

In this blog post I would like to demonstrate the how easy it is to setup a Wishbone server which allows you to send data from bash to a MQTT broker.

more ...


Submit Nagios metrics to Graphite with ModGearman and MetricFactory revisited

When it comes down to monitoring Nagios is still the weapon of choice for many.  I would have abandoned it if there weren't projects like Livestatus, Mod_Gearman and Thruk which to my opinion should never be missing from any Nagios setup. Mod_Gearman, the framework which makes Nagios scalable, has a …

more ...