Entries of August, 2012

Good and awesome news: Diego Zamboni himself has approved my pull request on GitHub for xenuser.org’s Cfengine 3 code examples. They are now also available in the examples section at the official Cfengine design center: https://github.com/cfengine/design-center/tree/master/examples If you would like to download the samples from my site, you can do that here.

(Continue reading…)

During the last weeks I received a lot of positive feedback on my blog posts and the Cfengine 3 code snippets so I started to post them on Twitter. Especially my little article about monitoring the CPU load with Cfengine 3 gained some attention there, that is why I am very motivated to dive in […]

(Continue reading…)

As you might already know the community version of Cfengine 3 is not able to set ACLs the “Cfengine 3 way”. So when you are using the community edition of Cfengine 3 you have to find another way of doing it.. such as running shell commands out of the Cfengine 3 scripts. I hope the […]

(Continue reading…)

Cfengine 3 can be used to tidy your systems up on regular basis. Depending on the time, day of the week of the file extensions you are able to define how Cfengine 3 shall delete old and obsolete files. In today’s example a code snippet is shown which deletes all .gz files in /var/log which […]

(Continue reading…)

The creators of Cfengine 3 claim that their configuration management tool is able to perform a basic monitoring of important states, such as the CPU load. And indeed, with the help of Cfengine 3 you possibly get rid of some monitoring checks and therefore relive your monitoring system. This is doable because cf-monitord runs in […]

(Continue reading…)

Every Cfengine 2 script of my company contains environment variables. They are essential for configuring most of the services running on the different servers. For porting those scripts to Cfengine 3 one day I wanted to know how to make use of environment variables in the latest version of the configuration management tool. Well, the […]

(Continue reading…)

Keeping yourself up to date about what is happening on your Linux systems can be quite time-consuming. Many sys admins therefore use a little trick: Since the most important logs contain all the informative stuff, many admins install logcheck which reports unusual happenings every 60 minutes via mail. In this way, the admins stay informed […]

(Continue reading…)

Today I had more time to have a closer look at Cfengine 3. Since I am still using Cfengine 2 at work due to a company policy, I would like to gain more knowledge about the latest version of the configuration management tool in my spare time. One day I am hopefully able to port […]

(Continue reading…)