About Archive Tags RSS Feed

 

Two minor toys ..

23 February 2014 21:50

Two minor things:

graphite_send

A simple shell-script to submit metrics to a graphite server, extensible via local plugins, but covers the obvious metrics by default.

Metrics are submitted via simple calls to netcat.

Trivial, but much more lightweight than collectd and similar.

HTML::Emoji

A perl module for converting HTML like "<p>:smile:</p>" into something graphical.

This was written for my markdown sharing site, but is pretty fun.

The konami-code page demonstrates usage.

(This parses the HTML so it won't transform attributes, ids, or anything that isn't in the "text" part of any HTML input.)

The graphite sending script is perhaps the most useful, but at the same time it feels too small to be a package of its own. I'm tempted to bundle it up into my sysadmin-util collection, but I can't quite decide if it belongs there either.

| 2 comments

 

Comments on this entry

icon Mathieu Parent at 08:12 on 25 February 2014

Hi,

Did you know there is a pkg-graphite team?

You can ask there:

http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-graphite-maint

(NB: I'm in the team, but don't have an answer, yet ;-).

icon Steve Kemp at 08:30 on 25 February 2014
http://www.steve.org.uk/

I didn't know there was one, no.

Packing a single script seems a bit too silly though, doesn't it?