Track IP Unban Events from Cloudflare or AWS WAF축구중계
Track IP Unban Events from Cloudflare or AWS WAF축구중계
Blog Article
Track IP 축구중계 Unban Events from Cloudflare or AWS WAF
1.1 Track IP Unbans via Cloudflare API
You can use a Python script (or similar) to send IP unban events to Prometheus whenever Fail2Ban or another service triggers an unban action in Cloudflare.
Example Python Script for Cloudflare IP Unban:
Exposing Metrics:
The script will expose the
cloudflare_unban_events
counter athttp://localhost:8000/metrics
.
Prometheus can scrape this endpoint and store the unban events as metrics.
1.2 Track IP Unbans via AWS
축구중계
WAF API
Use AWS Lambda (or another backend service) to call AWS WAF APIs for IP unbans and update the Prometheus metrics using the Prometheus Python client.
Report this page