Kerry Cox
2004-Aug-06 14:23 UTC
[icecast] parsing icecast 1 and icecast2 logs in GUI web format
Eisele, Would you mind sharing with myself and other what you did to get this running? I am very familiar with webalizer, but perhaps others are not so. I'd be curious to see your scripts for getting it to work with MRTG seeing as how I use that often as well. Thanks. KJ <p>On Wed, 2003-11-12 at 09:16, EISELE Pascal wrote:> Hi > > I'm using webalizer without any modification to parse icecast 1 log > files. It's not so bad. I'm also using a set of shellscript to do some > stats with mrtg (such as simultaneous listeners graph) and I've planed > to make a small java program using mrtg or rrdtool to remplace my > shellscript and so avoid to need access to log files. > > Bests regards, > EISELE Pascal > > Kerry Cox a écrit : > > >I know this was mentioned some time back, but I am curious if anyone has > >had any further success with this. My radio station is looking for a > >nice clean comprehensive overview of all connections to our icecast 1 > >and 2 servers. Someone had tweaked the webalizer program to render all > >the stats in a nice GUI format. However, there were still a couple items > >missing. > >Just wondering what everyone else has done to render stats or if any > >updates have been made to the webalizer tweak. > >Have the developers considered pulling webalizer into icecast for > >generating daily status reports. I am sure the webalizer admin would not > >mind. I've written to him in the past and he's a fairly amicable guy. > >KJ > > > > > > > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part Url : http://lists.xiph.org/pipermail/icecast/attachments/20031112/643adcdd/signature.pgp
Hi people, i am testing icecast 2 and its really very very good, the quality of the sound is very better than shoutcast. but i have a question: in shoutcast, i make a web forfward : http://play.myradio.com.br to http://www.myradio.com.br:8000/listen.pls and wen the user click, the winamp or real one automatically open an play my radio. In shoutcast can i do it too? if yes, how i do? tank u very much --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Thomas B. Ruecker, DM8TBR
2004-Aug-06 14:23 UTC
[icecast] parsing icecast 1 and icecast2 logs in GUI web format
Hi Kerry, Some time ago I had to setup mrtg graphing too. I'll try to give a short outline of what I did: 1. how do I get listener numbers into MRTG? 2. how to interface XSLT with MRTG? 3. how to set up MRTG? 1. I chose to use the xslt-features provided by Icecast and placed files called lstn-*.xsl for every mountpoint in the icecast web-root. The sole purpose of this xslt-sheet is returning the current number of listeners for a mountpoint as a plain-text string. 2. mrtg was written for SNMP but accepts also data from other sources if they follow certain conventions (refer to the comments in the perl-script or one of the available howtos for details). So I hacked up a short perl-script that gets the current number of listeners by http and feeds it into mrtg along with some additional data (like description etc.). You can find an example perl-script attached to this mail. It was hacked up in only a few minutes and because it was running ok I never touched it again, although some features (e.g. uptime) are not used. ;) Note: the script requires some perl-libraries to run. 3. MRTG calls the Script created in 2. (see mrtg.cfg) Everything else happens automagically. ;) A result can be seen here: http://dk0td.afthd.tu-darmstadt.de/mrtg/icecast/radio.ogg_and_radio+.ogg.html Probably there is an easier way to accomplish this, but it works fine for me. Of course the Perl part could have been done in php or $YOUR_FAVOURITE_SCRIPTING_LANGUAGE... One thing I noticed during organizing the relay for http://www.subether.de/ was: the stats seem to get off pretty much. This may have been caused by an unstable connection to the source server, but it shouldn't have happened anyway. This issue was addressed in an email to the list some time ago, but no one answered to it IIRC. Is this still happening? Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: lstn-radio.xsl Type: text/xml Size: 327 bytes Desc: lstn-radio.xsl Url : http://lists.xiph.org/pipermail/icecast/attachments/20031112/e45d2f82/lstn-radio.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: icemon-radio Type: application/octet-stream Size: 673 bytes Desc: icemon-radio Url : http://lists.xiph.org/pipermail/icecast/attachments/20031112/e45d2f82/icemon-radio.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: mrtg.cfg Type: application/octet-stream Size: 1222 bytes Desc: mrtg.cfg Url : http://lists.xiph.org/pipermail/icecast/attachments/20031112/e45d2f82/mrtg.obj