Archive for category Code
Elasticsearch backup strategies
Hello again! Today we’re going to talk about backup strategies for Elasticsearch. One popular way to make backups of ES requires the use of separate ES node, while another relies entirely on the underlying file system of a given set of ES nodes. The ES-based approach: Bring up an independent (receiving) ES node on a [...]
Nagios plugin to parse the result of a MySQL query
Hello all ! As before, I wrote a Nagios plugin that will perform an arbitrary MySQL query and parse the results. It is written in Ruby (and tested against 1.9 only, so ymmv). If that sounds interesting to you, check my my Github. Usage ./check_mysql_query.rb [-c <config_file>] -q ‘SELECT etc…’ -h, –help Help! -v, –verbose [...]
Nagios plugin to parse JSON from an HTTP response
Hello all ! I wrote a plugin for Nagios that will parse JSON from an HTTP response. If that sounds interesting to you, feel free to check out my Github. The plugin itself is written in Ruby – 1.9 initially, but it’s compatible with earlier versions thanks to some excellent contributions from other Githubbers. Pull [...]
RabbitMQ plugin for Collectd
Hello all, I wrote a rudimentary RabbitMQ plugin for Collectd. If that sounds interesting to you, feel free to take a look at my GitHub. The plugin itself is written in Python and makes use of the Python plugin for Collectd. It will accept four options from the Collectd plugin configuration : Locations of binaries [...]
CPAN RPMs in RHEL / CentOS : generation, conflict, and solutions
Hello all ! Today we’re going to take a look at a somewhat obscure problem that – once encountered – can cause nothing but headaches for a system administrator. The problem relates to conflicts in CPAN RPM packages, and what can be done to work around the issue. If you’ve made it this far, i’m [...]
(complex) partitioning in kickstart
Bonjour my geeky friends ! :) As you are likely aware, it is now summer-time here in the northern hemisphere, and thus, i’ve been spending as much time away from the computer as possible. That said, it’s been a long time, i shouldn’t have left you, without a strong beat to step to. Now, if [...]
how to be properly lazy, with perl !
Posted by dan in Code, Commentary on 2009/06/12
One of the wonderful things about Perl is that it enables the busy System Administrator to be lazy – and that’s a good thing ! Of course, i don’t mean lazy as in unmotivated, or possesed of a poor work ethic, i mean it in the sense that Perl lets us do as little work [...]
perl, regex
4 Comments