Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_website_content (edouard.lamoine)
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!
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.
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.
Reviews (0)
Be the first to review this listing!