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)
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!