LizardFS in Grafana

This plugin/script for Telegraf will collect the metrics from LizardFS and stores it into InfluxDB, then you can view your metrics in Grafana on a templated dashboard.

August 14, 2017 · Dennis Kruyt

Postfix and TLS encryption

With hackers around every corner, governments wants to read your emails, now a days encryption is a necessity. Now most major sites are only available on https, and more and more IM are using encryption. But what about and old protocol email that is still very popular and we cant go without it any more. How can we increase security for this? Of course you can use S/MIME or PGP and have end to end encryption, but the problem that in transit between mail servers the from, to, cc, and subject fields are not encrypted....

August 4, 2017 · Dennis Kruyt

Barnyard2: Data too long

After I logged into Snorby to check some events on our IDS. I notice that one of my sensors didn’t return any events any more into the database. I log in the sensors and I notice that Barnyard2 wasn’t running any more. Barnyard2 parses the Snort logs and inserts the min the database. So I started the service again and after a few minutes it stoped running again. Upon inspection of the logs I fount this warning....

July 24, 2017 · Dennis Kruyt

Huawei OceanStor metrics in Grafana

I manage a couple of storages at work. I got a few Huawei OceanStor storages. v2 as wel v3 storages. There is some commercial tooling from Huawei available to gather metrics, but that didn’t fit my needs. I found out that all or almost all metrics that I need are available via SNMP. So it was not hard to setup a Grafana dashboard with all metrics. Pre install Make sure you have installed InfluxDB as the time-series database Telegraf as the collector first....

July 22, 2017 · Dennis Kruyt

zswap metrics with Telegraf

A couple of weeks ago I discover zswap. zswap is a Linux kernel feature that provides a compressed write-back cache for swapped pages, as a form of virtual memory compression. Instead of moving memory pages to a swap device when they are to be swapped out, zswap performs their compression and then stores them into a memory pool dynamically allocated in the system RAM. Later writeback to the actual swap device is deferred or even completely avoided, resulting in a significantly reduced I/O for Linux systems that require swapping; the tradeoff is the need for additional CPU cycles to perform the compression....

July 19, 2017 · Dennis Kruyt

Imperial march on floppy drives

Just for fun, try to play music with old floppy drives and an Arduino.

March 24, 2012 · Dennis Kruyt

Equilux a Arduino clock

I created a Arduino controled led clock with 60 rgb led’s. This one is inspired by the Equinox Clock from Bram Knaapen. LED strip For the 60 RGB leds I use a string of RGB leds that I order directly from China, each of those leds has a LPD6803 IC. A arduino library for this string can be found at adafruit’s github. Time Keeping For time keeping I am using a a RTC DS1307 that is connected via I2C to pin A4 and A5 on the Arduino....

June 17, 2011 · Dennis Kruyt

Read Magnetic cards with an Arduino

Found an old magnetic card reader. I hooked it up to an Arduino to read magnetic cards.

July 3, 2010 · Dennis Kruyt

Inlinefeed a Wordpress plugin to display RSS feeds

This is not working any more just for historical purpose. With the inlinefeed plugin you can display and embed RSS/ATOM feeds in your Wordpress posts and pages. You can use the following shortcode within Wordpress: [inlinefeed rss_feed_url="http://feed.xml"] NOTE: From version 2.0 you can only use the shortcode [inlinefeed], the old style rss:[URL]; doesn’t work anymore! If you upgrade from a 1.xx version, then you must change from rss:[URL] to [inlinefeed rss_feed_url=”http://feed....

April 28, 2009 · Dennis Kruyt

Grease Monkey: Flickramio

Flickramio is a Greasemonkey script that put 2 google earth map’s next to the photo if the image is geotagged, so Flickr looks a little more like Panoramio.

April 24, 2009 · Dennis Kruyt