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_proxy_http_url New!

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
E-mail
Twitter Handle
@zwindler
License
MIT
Hits
313
Files:
FileDescription
check_proxy_http_url.shPlugin file
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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