Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_curl_http
1.1
2012-06-12
- Nagios 3.x
82087
File | Description |
---|---|
check_curl_http.php | check_curl_http V1.0 |
check_curl_http.php | check_curl_http V1.1 |
BestPractice.txt | Best Practice Config Manual |
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!
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!
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)
byalefebvr, July 24, 2019
1 of 1 people found this review helpful
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
Note: the file has Windows carriage returns, so, in a Linux environment, you would need to run
dos2unix check_curl_http.php