Skip to content

Apache traffic collector application. Data is sent to graphite.

License

Notifications You must be signed in to change notification settings

kresike/apachetraffic

Repository files navigation

A simple application that collects and sends traffic generated by apache to graphite.

Place the following three lines of configuration in your apache config:

LogFormat "%h %v %I %O %^FB %t \"%r\" %>s" traffic
LogIOTrackTTFB ON
CustomLog "|/usr/sbin/apachetraffic" traffic

Compile and put the application in /usr/sbin/apachetraffic, and copy
the apachetraffic.toml to /etc/apachetraffic/. Adjust graphite address and
prefix to fit your needs, restart apache and you're all set.

You can use grafana or some other graphing software to visualize the
data you collected.

About

Apache traffic collector application. Data is sent to graphite.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages