Tech

Dashboard Example with Sinatra and Mcollective

Having a dashboard to provide real time data to users helps minimize interruptions at work. The combination of Sinatra handling the incoming HTTP requests and Mcollective pulling real time data from the infrastructure provides the responsiveness and self-service that saves everyone time and effort. The example code is available on Read more…

By chris, ago
Tech

Using Open Source to Provide Infrastructure Services

Operations Teams need to provide eight critical services to the developers and users of their environment.  At my current employer, I use open source software to provide these services that allow our developers to be more productive and our customers to experience stable, responsive service. Click for Full Image Source Read more…

By chris, ago
Tech

How mcollective and puppet play nice

At work, I have invested a lot of time in two tools that have made configuration and deployment as close to a painless process as I think is possible. Puppet (available from Puppet Labs) is an amazing configuration tool that I have been working with for over a year.  Since Read more…

By chris, ago
Tech

How to monitor like a grown up

Go to your monitoring system right now. What color is everything? If you even have to look you need to rethink how you’re monitoring The answer is that everything is green or acknowledged. Here are my rules for making monitoring useful again by monitoring like an adult. Monitoring is configured Read more…

By chris, ago
Tech

Puppet – so now what?? (Introduction)

After installing puppet a lot of people ask – “Now what?” My plan is to write a few posts on things that I have found useful in puppet other than the actual configuration of your nodes. These are things that have saved me trouble and/or made my infrastructure run more Read more…

By chris, ago
Tech

Better EC2 facts for Puppet

I didn’t like the facts that came with the standard facter for ec2, so I wrote a custom fact plugin returning more detailed information. It’s available on my GitHub Sample output is below   ec2_ami_id => ami-cdXXXXXX ec2_ami_launch-index => 0 ec2_ami_manifest-path => myamis/lenny-XXXXXXX-x86-20101207.manifest.xml ec2_ancestor_ami-ids => ami-XXXXXXXX,ami-XXXXXXXXXX ec2_block_device-mapping_ami => sda1 ec2_block_device-mapping_ephemeral0 Read more…

By chris, ago
Tech

Puppet Syntax Highlighting

To get nicely formatted Puppet code in your blog like the following: class test1 { file => "/tmp/test": ensure => present, owner => "chris", require => Package["test1"], } } 1) Install the WP-GeSHi-Highlight plugin in your word press 2) Find your geshi directory find /usr -name systemverilog.php 3) Down load Read more…

By chris, ago
Tech

Puppet source file trick

The source parameter in the file type can take an array and will match on the first file present. I find this useful for overriding configs for specific hosts without having to change any puppet code. Puppet will search first for ${fqdn}.nginx.conf if that file does not exist then it Read more…

By chris, ago