Home Directory Plugins Web Servers check_website_content (edouard.lamoine)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_website_content (edouard.lamoine)

Current Version
1.0
Last Release Date
2015-05-22
License
Other
Hits
8857
Files:
FileDescription
check_website_contentcheck_website_content
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
check_website_content (edouard.lamoine)
This plugin allow you to check if a website is up and running correctly.

Tested under Ubuntu 10
Plugin made by Edouard Lamoine

This plugin allow you to check if a website is up and correctly running by searching for a specific word in the webpage content.

Copy the plugin in the nagios plugins directory

Usage: ./check_website_content -u MY_URL_WEBPAGE -c WORD_TO_SEARCH_IN_PAGE

ex: ./check_website_content -u mywebsite.com/welcome.html -c specificwordinthepage

Return OK if found the given word in webpage, CRITICAL if not


-Note: This plugin won't work if curl is not installed.


-And of course be sure Nagios user is allowed to access the plugin (use chmod to make it readable by Nagios user)


Let me know if you experience any problem with it.