stats on Icecast servers

Events happening in the community are now at Drupal community events on www.drupal.org.
rjleigh's picture

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.

Comments

Have you tried running the

mfb's picture

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

mfb's picture

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.mp3

thanks

rjleigh's picture

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

mfb's picture

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.

Radio

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: