Skip to Main Content
Cucumber Recipes
book

Cucumber Recipes

by Ian Dees, Matt Wynne, Aslak Hellesoy
February 2013
Intermediate to advanced content levelIntermediate to advanced
272 pages
5h 45m
English
Pragmatic Bookshelf
Content preview from Cucumber Recipes
Recipe 36Monitor a Web Service Using Nagios and Cucumber

Problem

You’re monitoring the uptime of your web service with Nagios. The HTTP monitoring built into Nagios gives a quick up/down status. You want to add more advanced information to this report. Specifically, you want to run some acceptance tests to see whether your servers are showing the right content.

Ingredients

  • A monitoring server running Nagios[234]

  • The cucumber-nagios gem[235] for producing reports in a format easily understood by Nagios

  • Webrat[236] for testing web pages

  • Nokogiri[237] for parsing HTML results

  • Bundler[238] for installing Ruby libraries onto the monitoring server

Solution

Nagios is an open source tool that gauges the health of your network. It does so by ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Cucumber Cookbook

Cucumber Cookbook

Shankar Garg
Basiswissen Softwaretest , 6th Edition

Basiswissen Softwaretest , 6th Edition

Andreas Spillner, Tilo Linz
React Cookbook

React Cookbook

David Griffiths, Dawn Griffiths

Publisher Resources

ISBN: 9781941222607Errata