Monitoring hosts with CollectD, InfluxDB and Grafana

In this article we will install a monitoring solution on CentOS 7 consisting of CollectD, InfluxDB and Grafana. The first step is to install CollectD: yum -y install epel-release yum -y install collectd At the time of writing, this resulted in the installation of CollectD version 5.5.0. If you are using an older version of […]

Linux network auto shutdown from APC UPS

The APC Smart-UPS series of UPS devices allows you to power servers and switches when there is a power failure in the grid. When the UPS is running on batteries, you want your servers to be notified and properly shutdown. This article shows how you can accomplish that. We use the APC Smart-UPS X2200, with […]

Installing latest version of Puppet on CentOS

The latest version of Puppet can be installed on CentOS by adding the Puppetlabs repository and then installing the official Puppet package: rpm -Uvh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm yum install puppet This will install the latest official version of Puppet. Check the version by issuing this command: puppet –version At the time of writing, the latest version was […]

Installing a Storm cluster on CentOS hosts

Storm is a distributed, realtime computation system to reliably process unbounded streams of data. The following picture shows how data is processed in Storm: This tutorial will show you how to install Storm on a cluster of CentOS hosts. A Storm cluster contains the following components: Nimbus is the name for the master node. Nimbus […]

Installing Rackspace command line tools on CentOS

A set of command line tools is available for the Rackspace cloud computing platform which allows you to e.g. list images and create virtual machines. The installation of this set can be achieved with the following commands: yum install python-setuptools easy_install pip pip install rackspace-novaclient The information that the nova client needs is obtained from […]

Installing Apache Libcloud on CentOS

Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs. At the moment it can be used to manage four different kinds of cloud services: servers, storage, loadbalancers and DNS. Here are the steps to install Libcloud on a machine running CentOS 6: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm yum install python-pip […]