Lax/traffic-accounting-nginx-module

What's the report page look like?

nstielau opened this issue · 4 comments

Hey Lax,

This looks very useful. Could you include a text/html file showing what the accounting report page is, and how to access it? Thanks!

-nick

Lax commented

In my deployment, nginx writes data to local syslog every minute. and syslog daemon (rsyslogd or syslog-ng) was configured to forward data to a central server (accounting_metad runs there, save summary data to rrd file).

So there are four parts in the architecture: nginx with ngx_http_accountimg_module, syslog, accounting_metad and web-frontend. This program runs stable on my web-servers, and it's time to open all the modules.

Stay tuned!

Hey Lax,

So it logs the request count data? Would it log to a log-file if I
didn't have the nginx syslog patch? I was expecting a status page
that I could scrape, like the nginx status module and apache
mod_status. It seems like your workflow works really well, but I
think the status page is really easy to get started with and easy to
fit in to existing munin/collectd/nagios workflows. I'll keep
watching for changes. Thanks,

-nick

On Thu, Jul 14, 2011 at 9:13 AM, Lax
reply@reply.github.com
wrote:

In my deployment, nginx writes data to local syslog every minute. and syslog daemon (rsyslogd or syslog-ng) was configured to forward data to a central server (accounting_metad runs there, save summary data to rrd file).

So there are four parts in the architecture: nginx with ngx_http_accountimg_module, syslog, accounting_metad and web-frontend. This program runs stable on my web-servers, and it's time to open all the modules.

Stay tuned!

Reply to this email directly or view it on GitHub:
#2 (comment)

Nick Stielau
206-245-7991

Lax commented

no nginx-syslog patch needed. i have submit the syslog configuration.

What package does "accounting_metad" come in? Searched on Google and could not locate it. This seems like a very interesting module :) Thanks for submitting it.