HTTP

check_proxy_http_url

Description:

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

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

License

MIT


Project Files
Project Photos
Project Notes
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
6,590