While continuing to dork around with Dash, I wanted to test the metrics gathered using the plugin from part 1. I wrote some basic steps that will allow you to fetch and perform tests on your own metrics. Be sure you have webrat installed in your project and available to Cucumber. Download dash_steps.rb and add to features/step_definitions. Update the APPKEY with the key for your application.
Here is an example feature.
For super-coolness, integrate with cucumber-nagios for notification support when your tests fail.
Instead of writing boring monitoring plugins from scratch, you can now do behavior driven ops! Transform from a grumpy, misanthropic sysadmin to a hipster, agile developer instantly.