Websites, Forms and Transactions

check_curl_http

Description:

Check websites via http(s) and, if needed, through a proxy. You can search for strings in the website to check, if it is really available. Additionally this plugin has no problem checking https Websites through a proxy, which I was not able to do with check_http.

Current Version

1.1

Last Release Date

2012-06-12

Compatible With

  • Nagios 3.x

Owner


Project Files
Project Notes
This plugin is based on check_curl_authenticate here on Nagios Exchange. Adds support for http(s) requests through a http proxy server. Adds support for all proxy methods that curl supports (check http://php.net/manual/en/function.curl-setopt.php for details). Example usage: check_curl_http.php -U https://test.example.net -P myproxy.company.com:8080 -Pu proxyuser:password -F -G somesearchstring This will check test.example.net through the proxy myproxy.company.com with proxy authentication. Additionally, it will follow the redirect on the webpage and check for a search string. And there are tons of more fancy features to check your Website/Webapplication. E.g. you can specify the http status code you expect. Sometimes it makes sence to have something different than 200 considered as OK... Please feel free proposing new features or code improvements. THANKS!
Reviews (1) Add a Review
works fine but file requires dos2unix
by alefebvr, July 31, 2019

The plugin works fine. Note: the file has Windows carriage returns, so, in a Linux environment, you would need to run dos2unix check_curl_http.php



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.5 (2)
Favorites
1
Views
82,084