Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_proxy_http_url
1.0
2017-11-13
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
@zwindler
MIT
6689
File | Description |
---|---|
check_proxy_http_url.sh | Plugin file |
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!
With check_proxy_http_url, you can check URLs through a proxy, follow correctly 302 redirections, and specify whether a specific page being accessible is either a good OR a bad thing. This is especially useful when you block certains pages with an Internet proxy and you want to make sure that theses pages are indeed blocked.
Installation
This pluggin relies on wget binary, which is available on most systems for now. In the future, cURL option will probably also available as it tends to replace wget.
Aside from wget and bash, there are no prerequisites.
Usage
/var/lib/nrpe/plugins/check_proxy_http_url.sh -u TARGET_URL [-p PROXY_ADDRESS:PROXY_PORT] [-r] [-v]
Example output
[root@lanhost ~]# /var/lib/nrpe/plugins/check_proxy_http_url.sh -u some_forbidden_website.com -r
OK: URL some_forbidden_website.com isn't available and it shouldn't - 403
[root@lanhost ~]# /var/lib/nrpe/plugins/check_proxy_http_url.sh -p internal_proxy:8181 -u some_allowed_website_that_isnt_accessible.com
CRITICAL: URL some_allowed_website_that_isnt_accessible.com isn't available and it should - 403
Reviews (0)
Be the first to review this listing!