Mastodon Mastodon Mastodon Systeemkabouter blog

Setting up puppet provisioned nagios monitoring

Posted on vr 12 februari 2016 in software • Tagged with debian, red_hat, puppet

Puppet has had native nagios resource types for quite some time. As both a nagios and a puppet fan, I really liked the idea of not setting up any monitoring but have some base level of monitoring on every managed system automatically. Deploying new systems involves a lot of steps …


Continue reading

Check if a Red Hat / CentOS server needs a reboot after updates

Posted on ma 08 februari 2016 in software • Tagged with red_hat

At a client site updates were installed on Red Hat systems, but they were not always rebooted after a kernel update. So I needed a quick way to test if a server had a newer kernel installed than it was currently running. Just to save it for future use :

#!/bin …

Continue reading

git pre-commit hook for puppet, erb and yaml files

Posted on za 07 november 2015 in software • Tagged with debian, red_hat, puppet

A pre-commit hook is a great way to run custom actions before handing over your work to GIT (and thus your CI tool chain). For puppet related GIT repositories I’ve assembled a pre-commit hook that checks the puppet code, changed ERB templates and any changed YAML files for formatting …


Continue reading

Speeding up puppet runs by using checksums when running execs

Posted on vr 20 maart 2015 in software • Tagged with debian, red_hat, puppet

During my integration work for a client, I was running third party puppet code to integrate automatically deployed application containers with the third party deployment tool (the deployit / XL Deploy module for puppet)

This module was written to run an exec for three different actions per container, all resulting in …


Continue reading

It’s 2015 and I’m installing Snow Leopard

Posted on zo 15 maart 2015 in desktop • Tagged with apple

The old trusty MacBook white was getting slower and slower. I upgraded it to new OS X releases when they came available over the years. As my kids became the primary user, the complaints started to pile up. I tried moving to Windows 7 and to Ubuntu. But the machine …


Continue reading