[darkice] Re: user Statistics & logging

  • From: Niels Dettenbach <nd@xxxxxxxxxxxx>
  • To: darkice@xxxxxxxxxxxxx
  • Date: Mon, 16 Jan 2012 13:23:20 +0100

Am Sonntag, 15. Januar 2012, 13:31:23 schrieb GO DJ HaKa:
> anyone with experience with awstats?

Yes,
we use awstats AND webalizer AND cacti (RRDTool).


Why:
====
Awstats and webalizer was developed for typical web server traffic, but not 
streaming traffic, even if it can read icecast logfiles (as they are 
"compatible" by format to other web logging formats) - so it did not offer us 
the most important details we want to know:

        - the number of current / concurrent listeners on each stream or at all

We use awstats with GeoIP mainly to get a "geographical view" of where our 
listeners come from and some tech details about the interaction with our 
icecasts (i.e. what kind of user agents they use), but nothing more "really 
useful" as requests hits or visits could not be counted as is or interpreted 
without important limitations on radio streams.

We use webalizer in parallel because awstats uses another set of algos to 
calculate "visitors" then i.e. webalizer - so the results differ up to *3.

Most important thing our radio makers and heads want to know is how many 
listeners are in the audience currently or at any time in the past. Therefor i 
just found commercial solutions, but want a open source one.

For this i've modified a set of small php scripts (icecast for cacti - found 
it somewhere in a forum but required some works to get running for me) which 
feeds CACTI (an RRDTool web frontend - as we use it for many other graphing 
jobs too and it has a nice GUI for end users and a smartphone app client 
version etc.) which produces graphes in many different time ranges (from i.e. 
the last hour up to several year or longer).

See example screens here:

        http://www.syndicat.com/pub/darkice/mon/cacti/demo/cacti_main.png
        http://www.syndicat.com/pub/darkice/mon/cacti/demo/cacti_details1.png

but the scripts may could used for other implementations too.

hth
cheers,


Niels.

-- 
---
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com/

Other related posts: