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.


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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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