stats on Icecast servers
public
group: Radio
roger - Fri, 2008-06-27 09:32
Does anyone have a good answer for saving and displaying stats for icecast2 servers over time? I'd love to see something that graphed numbers of concurrent users, for instance.
Sitewide tags: radio icecast



Have you tried running the
Have you tried running the Icecast logs thru an Apache log analyzer? That is one easy option although I'm not sure it would give you the data and presentation you're looking for.
It wouldn't be difficult to extend the Icecast YP module to provide this functionality, although that only knows about number of listeners, not any detailed info about them like IP addresses, how long each listener was connected, etc.
Btw you inspired me to add
Btw you inspired me to add it to the Icecast YP module. Here's a demo of what it generates: http://radio.indymedia.org/en/yp/log/killradio.org%3A8000/killradio64.mp...
thanks
Thanks,
Yeah I hadn't done that, but suspected that it would do something like you have, which is a start. What I was really hoping for was something that could tell how long they were connected, IP, etc.
I saw this - http://amptracker.com - anyone tried it?
one idea for this is, with
one idea for this is, with Icecast you can use XSL to generate arbitrary views of server info, from number of listeners and current track to IP address and seconds connected for each listener. Rather than HTML, render it in XML format, and then write a script to periodically parse this data and log it. I haven't done this for IP address and seconds connected but it was pretty easy for # of listeners and current track.