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

Directory Tree

check_proxy_http_url

Current Version
1.0
Last Release Date
2017-11-13
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Twitter Handle
@zwindler
License
MIT
Hits
6590
Files:
FileDescription
check_proxy_http_url.shPlugin file
Nagios CSP

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!
check_proxy_http_url
This NagiosĀ® compatible plugin allows you to check allowed/blocked URLs.

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