<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ruby on cd ~</title><link>https://www.rottenbytes.info/tags/ruby/</link><description>Recent content in Ruby on cd ~</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 08 Mar 2011 20:59:34 +0000</lastBuildDate><atom:link href="https://www.rottenbytes.info/tags/ruby/index.xml" rel="self" type="application/rss+xml"/><item><title>Reusing chef providers in mcollective</title><link>https://www.rottenbytes.info/2011/03/08/reusing-chef-providers-in-mcollective/</link><pubDate>Tue, 08 Mar 2011 20:59:34 +0000</pubDate><guid>https://www.rottenbytes.info/2011/03/08/reusing-chef-providers-in-mcollective/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;It has been quite calm for a couple of months here. I have switched job, it explains why I had less time to post some things.I now work at fotolia, and I switched from puppet to chef (no troll intended, I still think puppet is a great tool, please &lt;a href="http://www.quora.com/What-are-the-key-reasons-to-choose-Puppet-over-Chef-or-vice-versa/answer/Andrew-Clay-Shafer"&gt;read this&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>Nagios check for MongoDB</title><link>https://www.rottenbytes.info/2010/08/18/nagios-check-for-mongodb/</link><pubDate>Wed, 18 Aug 2010 11:21:42 +0000</pubDate><guid>https://www.rottenbytes.info/2010/08/18/nagios-check-for-mongodb/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-95" title="Ruby" src="http://www.rottenbytes.info/wp-content/uploads/2009/03/ruby.png" alt="Ruby" width="80" height="80" /&gt;Quick post : installing a mongo server is good, monitoring it is better. I wrote a very basic check that ensure your mongo DB is healthy. &lt;a href="http://github.com/rottenbytes/Scripts/blob/master/monitoring/check_mongo.rb"&gt;Grab it&lt;/a&gt; on my github.&lt;/p&gt;</description></item><item><title>M{ongo,collective,oar !}</title><link>https://www.rottenbytes.info/2010/08/18/mongocollectiveoar/</link><pubDate>Wed, 18 Aug 2010 11:17:56 +0000</pubDate><guid>https://www.rottenbytes.info/2010/08/18/mongocollectiveoar/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" style="margin-left: 3px; margin-right: 3px;" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;In my last post I’ve been talking about mcollective (check the &lt;a href="http://marionette-collective.org/"&gt;new website&lt;/a&gt;) and mongo and how awesome it is.&lt;/p&gt;</description></item><item><title>Mcollective &amp; OpenBSD</title><link>https://www.rottenbytes.info/2010/08/12/mcollective-openbsd/</link><pubDate>Thu, 12 Aug 2010 09:16:46 +0000</pubDate><guid>https://www.rottenbytes.info/2010/08/12/mcollective-openbsd/</guid><description>&lt;p&gt;&lt;a href="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg"&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;&lt;/a&gt;I run a bunch of box under OpenBSD at $WORK and I wanted to be able to run mcollective on these too. Unfortunately, there were no package available for this OS. So I took time and with some help from landry@ I was able to build a port. &lt;a href="http://github.com/mcollective/marionette-collective/tree/development/ext/openbsd/"&gt;It has been integrated&lt;/a&gt; into the github repo quickly. But to be able to use mcollective you also need to have the ruby stomp connector. As I don’t like using gems and prefer them packages, I also built a port for it. You can grab it in my github repository &lt;a href="http://github.com/rottenbytes/OpenBSD/tree/master/ruby-stomp/"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Monitoring, another way</title><link>https://www.rottenbytes.info/2010/05/18/monitoring-another-way/</link><pubDate>Tue, 18 May 2010 10:54:11 +0000</pubDate><guid>https://www.rottenbytes.info/2010/05/18/monitoring-another-way/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;Some friends told me for a while about collectd, why I should look at it, why munin is so painful and so on. If you’ve been reading my posts you know I have tweaked a little my $WORK munin install to make it faster and lighter. But I finally took time to explore collectd, and I regret to not have done this before. It has so many pros that I decided to implement it in parallel with munin (because I can’t afford being blind on metrics). But collectd comes without an UI : it “only” collectds data, but that’s not a problem. There are various web interfaces and after giving a look to a bunch of them I fell in love with &lt;a href="http://holmwood.id.au/~lindsay/"&gt;Lindsay Holmwood&lt;/a&gt;‘s &lt;a href="http://auxesis.github.com/visage/"&gt;Visage&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Mcollective &amp; Xen : naughty things</title><link>https://www.rottenbytes.info/2010/04/14/mcollective-xen-naughty-things/</link><pubDate>Wed, 14 Apr 2010 11:16:50 +0000</pubDate><guid>https://www.rottenbytes.info/2010/04/14/mcollective-xen-naughty-things/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;I already blogged about my experiments with &lt;a href="http://code.google.com/p/mcollective/"&gt;mcollective&lt;/a&gt; &amp;amp; xen but I had something a little bigger in my mind. A friend had sent me a &lt;a href="http://www.youtube.com/watch?v=7CbRS0GGuNc"&gt;video&lt;/a&gt; showing some vmware neat features (DRS mainly) with VMs migrating through hypervisors automatically.&lt;/p&gt;</description></item><item><title>Put your ruby in my ERB</title><link>https://www.rottenbytes.info/2010/01/27/put-your-ruby-in-my-erb/</link><pubDate>Wed, 27 Jan 2010 22:17:31 +0000</pubDate><guid>https://www.rottenbytes.info/2010/01/27/put-your-ruby-in-my-erb/</guid><description>&lt;p&gt;&lt;img title="kermit" src="../wp-content/uploads/2009/01/kermit.jpg" alt="" width="108" height="127" /&gt;Today I started installing a reverse proxy at $WORK. I choose to follow &lt;a href="http://www.cmdln.org/2009/07/12/transparent_dynamic-reverse-proxy-with-nginx/"&gt;this way&lt;/a&gt;, and all my DNS data is stored in my CMDB. Once again, the solution came from #puppet ! You can embed some “pure” ruby code in ERB templates. And, yes, you can query your database !&lt;/p&gt;</description></item><item><title>Pimp my RTM</title><link>https://www.rottenbytes.info/2009/03/24/pimp-my-rtm/</link><pubDate>Tue, 24 Mar 2009 11:08:07 +0000</pubDate><guid>https://www.rottenbytes.info/2009/03/24/pimp-my-rtm/</guid><description>&lt;p&gt;&lt;a rel="attachment wp-att-95" href="http://www.rottenbytes.info/?attachment_id=95"&gt;&lt;img class="alignleft size-full wp-image-95" title="Ruby" src="http://www.rottenbytes.info/wp-content/uploads/2009/03/ruby.png" alt="Ruby" width="80" height="80" /&gt;&lt;/a&gt;Je suis un adepte de remember the milk, je m’en sers de todo list pour le boulot. C’est bien pratique, joli et tout. Mais ajouter une tache est un chouia long, surtout quand on veut le faire vite fait lorsque la personne est en face de vous. Je me suis donc fait un petit script ruby qui m’ajoute directement les taches dans ma liste “Travail”.&lt;/p&gt;</description></item></channel></rss>