https://support.cloudflare.com/hc/en-us/articles/200168236-What-does-Cloudflare-IP-Geolocation-do-
RewriteEngine on
| Dependencies for version LATEST | |
| killbill 0.18.20 | |
| killbill-oss-parent 0.140.53 | |
| killbill-api 0.50.2 | |
| killbill-plugin-api 0.23.1 | |
| killbill-commons 0.20.17 | |
| killbill-platform 0.36.15 | |
| Known plugin for KB version LATEST |
| #!/bin/bash | |
| echo 'vm.overcommit_memory=1' >> /etc/sysctl.conf | |
| sysctl -p |
| #!/bin/bash | |
| du -k /var/logs | sort -n | tail -10 |
| #!/bin/bash | |
| # Dry run | |
| find . -type f -name "*.log" -exec echo {} \; | |
| find . -type f -name "*.log" -exec truncate -s 0 {} \; |
| #!/bin/bash | |
| curl -sS https://dl.google.com/cloudagents/install-monitoring-agent.sh | sudo bash |
| # Block | |
| sudo iptables -A INPUT -s 10.240.0.22 -j DROP | |
| # Remove | |
| sudo iptables -D INPUT -s 10.240.0.22 -j DROP |
| #!/bash/sh | |
| sudo service google-fluentd stop && sudo apt-get remove google-fluentd google-fluentd-catch-all-config |
| LoadPlugin redis | |
| <Plugin "redis"> | |
| <Node "mynode"> | |
| # When using non-standard Redis configurations, replace the below with | |
| #Host "REDIS_HOST" | |
| #Port "REDIS_PORT" | |
| Host "localhost" | |
| Port "6379" | |
| Timeout 2000 | |
| Password "SECRET" |
| #!/bash/sh | |
| curl -sS https://dl.google.com/cloudagents/install-monitoring-agent.sh | sudo bash | |
| cd /opt/stackdriver/collectd/etc/collectd.d/ | |
| sudo curl -O https://raw.githubusercontent.com/Stackdriver/stackdriver-agent-service-configs/master/etc/collectd.d/redis.conf | |
| cd - | |
| sudo service stackdriver-agent restart |