Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I set up Nagios 3 to monitor a webpage? I would like to make sure it stays online. Also, if possible, I would like to have it check the page for a string to make sure the page is valid.

share|improve this question
up vote 6 down vote accepted

You can use the plugin check_http. It has an option called -s, --string=STRING String to expect in the content.

share|improve this answer

The Nagios check_http plugin does exactly what you're asking, and more.
Refer to the Nagios Manual for information on how to set up Nagios and configure plugins if you are unsure how to do so.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.