Bits of Freedom promotion

A simple NRPE alternative, based on bash, cron and NSCA

Monitoring remote hosts with Nagios can be done with various methods, ranging from snmp, ssh, nrpe, of a custom solution. To monitor some ‘black-box’ appliances with a very minimal OS-environment it wasn’t possible to install/run the NRPE agent. Since I seem to be using more and more passive nagios checks with the nagios service check . . . → Read More: A simple NRPE alternative, based on bash, cron and NSCA

New packages in the CentOS/RHEL 6.x repo

I’ve updated the following packages in my centos6 repository

ImageMagick 6.7.8-6 Cairo 1.12.2-1 Pixman 0.22.0 Poppler 0.12.4

Repodata files should now also be present, for easy in installation and upgrading.

Updates 2012/09/18: Some more packages can be found in the repository:

poppler20-0.20.3 (new package-name to avoid conflicts with poppler 0.12 in EL6) sox-14.3 (with mp3 . . . → Read More: New packages in the CentOS/RHEL 6.x repo

Linux Leap-Second problem

So, this weekend was quite an interesting one, as on July 1st 02:00 local time (00:00 UTC) a leap-second was added via NTP. This caused serious problems for all my Java Virtual Machines and mysql databases.

If your system has printed the following line (in dmesg), a leap-second has been added recently: Clock: inserting leap . . . → Read More: Linux Leap-Second problem

2 new ActiveMQ monitoring scripts for Nagios (compatible monitoring systems)

I’ve recently written two new check-scripts for ActiveMQ. These nagios scripts will keep an eye out on ActiveMQ’s internal storage space and status of the queues.

Both scripts make use of activemq’s administrative web-interface (located at hostname:port/admin/ by default).

Check_ActiveMQ_Mem Usage: check_activemq_mem url warn crit

The url to use is the ‘print’ version, as that’s . . . → Read More: 2 new ActiveMQ monitoring scripts for Nagios (compatible monitoring systems)

Resetting failed drive in linux mdadm raid array

http://www.flickr.com/photos/twicepix/3333710952

Today I was greeted with a failed drive in a mdadm raid array. The drive had some transient errors and was kicked out of the array, but testing showed that the drive still seemed to work just fine.

http://www.flickr.com/photos/twicepix/3333710952

The following procedure will remove the drive from the array, remove it from the system, . . . → Read More: Resetting failed drive in linux mdadm raid array

ImageMagick 6.7.6 and libwebp 0.1.3 packages for CentOS/RHEL 6.2

In my centos6 repository you can now find ‘up-to-date’ packages for ImageMagick compiled with Google’s new webp image format support. These packages were built on a centos6 build-host, as the packages from the ImageMagick project, which are built on CentOS 5.7 are not really compatible with CentOS 6.x.

. . . → Read More: ImageMagick 6.7.6 and libwebp 0.1.3 packages for CentOS/RHEL 6.2

Designing a low-cost, high-capacity storage server

My customers have a rather large hunger for storage-capacity, but not the budgets to buy expensive SAN networks or NAS-heads. This post will describe a low-cost, high capacity storage platform that should be able to provide decent performance at a cost of about 110 euro per TB usable capacity (given raid-6, with 6+2 disks per . . . → Read More: Designing a low-cost, high-capacity storage server

Run-time editing of limits in Linux

In Linux (with kernels >= 2.6.32) you can modify resource-limits (ulimit) run-time. This can be done using the /proc/<pid>/limits functionality. On older kernels this file is read-only and can be used to inspect the limits that are in effect on the process. On newer systems you can modify the limits with echo:

cat /proc/pid/limits echo . . . → Read More: Run-time editing of limits in Linux

Offsite backups

Sig-I/O is currently working on an off-site backup service for it’s customers. We will offer secure off-site backup capacity in a different datacenter from our main operations. Customers will be able to rent backup space on a quarterly basis, from 1 gigabyte up to several terabytes.

More information will be released soon. Please contact us . . . → Read More: Offsite backups

Autorai 2011

Some images from the visit to the 2011 Autorai.