Monitoring the Apache web server with Cfengine 3
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...
View ArticleCreating new symlinks with Cfengine 3
Sometimes it is necessary to create new symlinks. The following code snippet shows you how to do that with Cfengine 3. Please note that there are several ways of achieving our goal, but the following...
View ArticleCheck if an user exists with Cfengine 3
Often there is a need to add new users after deploying a new Linux box. In my case, I often have to add an user which takes care of the monitoring stuff (e.g. owning the Nagios plugins and executing...
View ArticleAdd a new user with Cfengine 3
In my last blog post about Cfengine 3 we talked about how Cfengine 3 can check for you if an user exists or not. Today we will have a look at a very simple way of how a new user can be created if it...
View ArticleSetting file permissions and ownerships with Cfengine 3
One of the most common tasks of a Linux sysadmin (or DevOp) might be setting file permissions and ownerships. In this blog I’ll show you how you can do that in a very simple but effective way with...
View Article