Configuring an initd Service for node_exporter

I recently wrote an article showing how to configure Prometheus and Grafana for easy metrics collection. In that article, I assumed that the system which should be monitored would use the systemd approach for defining services. I now had to set up the node_exporter utility on a system which uses the initd approach. Thus, I … Continue reading Configuring an initd Service for node_exporter

Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring

As mentioned in my previous post, I have long been looking for a centralised solution for collecting logs and monitoring metrics. I think my search was unsuccessful since I was looking for too many things in one solution. Instead I found now two separate solutions, one for log management (using Graylog) and one for metrics … Continue reading Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring

Installing Jenkins on Centos 7

I set up a Jenkins server on a brand new Centos 7 VPS. In the following the instructions for doing this in case you are looking at doing the same: Setting up Jenkins Server Install OpenJDK Java sudo yum install java-1.8.0-openjdk Add Jenkins Repo and install Jenkins sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import … Continue reading Installing Jenkins on Centos 7

Cannot Install VirtualBox Guest Additions: Installer Hangs

Problem For a CentOS based guest, the update of the VirtualBox Guest Additions hangs after the step: "Removing exiting VirtualBox non-DKMS kernel modules" Solutions Check the log file in /var/log/VBoxGuestAdditions-uninstall.log. See if there is anything obvious reported there you can fix. Check if your RAM disks are valid by running the command `sudo lsinitrd`. If … Continue reading Cannot Install VirtualBox Guest Additions: Installer Hangs

newrelic service doesn’t start on CentOS: Solution Run as Root

Today one of my virtual servers suddenly showed up as offline in my New Relic console (Which is an amazing tool and free by the way). I checked the log file /var/log/newrelic/nrsysmond.log and it had these contents: 2015-08-15 02:06:04.512 (915) error: nria_context_create(): SIGAR_OK != status; goto error; status=13 2015-08-15 02:06:04.512 (915) error: nria_context_create(): in error … Continue reading newrelic service doesn’t start on CentOS: Solution Run as Root