Home > Ask the Enterprise Linux Experts > Security Questions & Answers > Monitoring Web pages using Nagios
Ask The Enterprise Linux Expert: Questions & Answers
EMAIL THIS

Monitoring Web pages using Nagios

James Turnbull EXPERT RESPONSE FROM: James Turnbull

Pose a Question
Other Enterprise Linux Categories
Meet all Enterprise Linux Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 05 June 2006
We use Nagios to monitor our network services and servers, and we want to monitor the average time that it takes to read some specific Web pages. I've done some research in order to build a script to be run by Nagios using wget, but didn't manage to find a way to measure this time. How could we achieve it?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


The easiest way to do this is use the check_http plug-in. This provides the response time from a specified Web site. For example,

host# check_http -I 192.168.0.1 -u /test_page.html -w 3 -c 4

The -I option specifies the IP address of the host running the web site to be tested, -u specifies the exact path you wish to check (defaults to /) and the -w and -c options specify the period in seconds which, if exceeded, will trigger the WARNING or CRITICAL status respectively.

You can see the other options available with this plug-in using the -h option. The check_http plug-in comes with the default plug-ins package.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Linux Migration Advice: Unix-to-Linux, Windows-to-Linux
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts