Max Rosin

The Telegram bot API makes it really easy to use Telegram to send automated messages to yourself (or other people). A while ago I started to use this to send Icinga2 alerts to me. Several other people implemented Icinga2-Telegram notifications by writing a simple Bash script. Most of the time this works but there are a few things I do not like about the Bash solutions: They use two scripts with almost the same content. Bash can screw up really bad when your alert output contains special characters. The Bash solutions are based on environment variables. This does not work natively with Icinga2 director as it only supports arguments in command definitions. As a solution I wrote a small…

Max Rosin

From the 4th of November to the 7th of November two coworkers and I attended the OSMC 2018 in Nuremberg. We started the first day with a Prometheus workshop by Julien Pivotto . He gave us a nice overview how Prometheus works and we were able to try everything out in real time. After the workshop we had two days of interesting talks about different monitoring related topics followed by a hackathon on the last day. During the hackathon I was able to work on a new IcingaWeb2 feature and hopefully it will find its way into the upstream code :) During the second day of the conference I had the chance to give a lecture about our Icinga2 setup at SysEleven : Scaling Icinga2 with many…

Max Rosin

I found a cool tool called Peek to record a GIF with linux. Unfortunately it does not work well with i3 . So I ended up using byzanz-record instead. My only issue with byzanz is that it requires you to pass x and y coordinates when you want to record a selection of your screen and usually I do not like to count pixels before every recording... Luckily someone wrote xrectsel , a simple tool to get the geometry of a selected screen region. By combining xrectsel and byzanz it is possible to record a nice GIF with i3 and probably all other window managers: To make my life easier I put it in a small shell script called gif.sh :

Max Rosin

Hello again, I am back! In 2011 I started my blog fotoallerlei.com . In the beginning it was more about photography but over the years my focus shifted more and more to tech related blog posts. In 2018 the GDPR came along and because I did not want to spend my time with all the new internet rules I decided to take my blog offline. After a few months I was finally able to catch up with the new regulations and I also realized that I miss my blog. So I replaced my previous Wordpress installation with Hugo - a simple static site generator. Maybe I will repost some of the old content if it is still relevant. From now on I will use my blog again to dump my personal notes for future use. And…

Max Rosin

Between Christmas and New Year’s Eve I attended the 34C3 in Leipzig. I visited the congress before but it was the first time that I gave a presentation (at the congress) myself. At the last day of the 34C3 I talked about OmNomNom , my open source Telegram canteen chatbot, as part of the Lightning Talks . I explained the architecture of the software and the infrastructure I use to run and deploy the bot. All talks were recorded, you can check out my talk in the embedded video. It starts at 01:24:45 . youtube: https://www.youtube.com/watch?v=MdVxyXveDz0&t=1h24m45s If the video does not work you can check YouTube or media.ccc.de . Despite the fact that my talk was a little too long…