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

check_website_content (edouard.lamoine)

Current Version
1.0
Last Release Date
2015-05-22
License
Other
Hits
3857
Files:
FileDescription
check_website_contentcheck_website_content
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.