Skip to main content

A Web Site Availability Check Script for Nagios

  • Chapter
Pro Python System Administration
  • 2157 Accesses

Abstract

In this chapter we are going to build a custom check script for one of the standard NMS (network monitoring systems) available today—Nagios. We will be monitoring a simple web site by using an HTML parsing library, which allows us to check the operational side of the site. The check script attempts to navigate through unsecured pages and then reach some protected pages, too, by simulating a user login action. All action will be recorded and fed back into the Nagios system, which can be configured to do reporting and alerting if required.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Editor information

Duncan Parkes Michelle Lowman Clay Andres Steve Anglin Mark Beckner Ewan Buckingham Gary Cornell Jonathan Gennick Jonathan Hassell Matthew Moodie Jeffrey Pepper Frank Pohlmann Douglas Pundick Ben Renow-Clarke Dominic Shakeshaft Matt Wade Tom Welsh Mary Tobin Jennifer L. Blackwell Jim Compton Heather Lang Marilyn Smith

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Rytis Sileika

About this chapter

Cite this chapter

(2010). A Web Site Availability Check Script for Nagios. In: Parkes, D., et al. Pro Python System Administration. Apress. https://doi.org/10.1007/978-1-4302-2606-2_8

Download citation

Publish with us

Policies and ethics