Skip to content

vtochq/haproxy-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

haproxy-report

Script for generating daily reports. Backends usage by countries.

Requirements: geoiplookup

Usage:

./geo.sh <backend> [<logfile>] - geo stat by backend

./geo.sh report [backends (space separated)] - generate daily report by backends []

./geo.sh list [<logfile>] - list frontends and backends

For daily reports just run it in cron at 23:59 and send output by email or smth like that.

crontab:

59 23 * * * /root/geo.sh report | smtp="<SMARTHOST:25>" mailx -s "HA-Proxy report" "<MAILTO>"

About

Ha-proxy geo report aggregated by backends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages