Cloud

check_cloudflare_ips.sh

Description:

This plugin will check for changes in CloudFlare’s IP ranges. So, if you have a website behind cloudflare and you filter the source IPs on your firewall, you’ll know if there are any new IP ranges (both IPv4 and IPv6) so you can update your firewall.

This plugin maintains state (meaning the “original” IP ranges from cloudFlare) in files. If they don’t exist at first execution, the plugin will create them by getting the cloudflares IP ranges and will report everything as being OK.

If there are any changes (new IP ranges), this plugin will send a Critical status to Nagios.

The reading to check cloudflare’s IP ranges is done through HTTPS and it won’t work if the certificate is not validated.

Current Version

1.0

Last Release Date

2013-11-21

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
  • Nagios Fusion
  • Nagios Reactor

License

GPL


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!
Project Notes
This plugin will check for changes in CloudFlare's IP ranges. So, if you have a website behind cloudflare and you filter the source IPs on your firewall, you'll know if there are any new IP ranges (both IPv4 and IPv6) so you can update your firewall. This plugin maintains state (meaning the "original" IP ranges from cloudFlare) in files. If they don't exist at first execution, the plugin will create them by getting the cloudflares IP ranges and will report everything as being OK. If there are any changes (new IP ranges), this plugin will send a Critical status to Nagios. The reading to check cloudflare's IP ranges is done through HTTPS and it won't work if the certificate is not validated.
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
30,333