Setting up monitoring for web applications can be complicated - tests tend to lack expressiveness, or and quite often they don't even test the right problem in the first place.
cucumber-nagios lets a sysadmin write behavioural tests for their web apps in plain English, and outputs the test results in the Nagios plugin format, allowing a sysadmin to be notified by Nagios when their production apps aren't behaving.
5. # features/google.com.au/search.feature
Feature: google.com.au
It should be up
And I should be able to search for things
Scenario: Searching for things
When I visit quot;http://www.google.comquot;
And I fill in quot;qquot; with quot;wikipediaquot;
And I press quot;Google Searchquot;
Then I should see quot;www.wikipedia.orgquot;
9. $ bin/cucumber --require bin/common.rb
--require features/
features/google.com.au/search.feature
Feature: google.com.au
It should be up
And I should be able to search for things
Scenario: Searching for things
When I visit quot;http://www.google.comquot;
And I fill in quot;qquot; with quot;wikipediaquot;
And I press quot;Google Searchquot;
Then I should see quot;www.wikipedia.orgquot;
1 scenario
4 steps passed
--format pretty
46. Instead of writing boring monitoring
plugins from scratch, you can now
do behavior driven ops!
47. 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.
— Bradley Taylor (http://bit.ly/lWWfE)