icecast statistic

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

User avatar
sumsum
Cacti User
Posts: 68
Joined: Mon Apr 26, 2004 7:18 am
Location: Switzerland
Contact:

Post by sumsum »

@ rik that would be geil :)
http://www.lounge-radio.com/
tharok
Posts: 2
Joined: Sun Jun 27, 2010 8:07 am

Post by tharok »

Hello Rik!

Great scripts you got there. I found that you only need to switch 'CLIENTS' to 'LISTENERS' in row 77 in your icecast_v2_class.php script.
$this->current_listeners = $x_vals[$x_index['LISTENERS'][0]]['value'];
I would also be thrilled to know if you have managed to get it mountspecific yet?

Good job!
Best regards,
Tharok
rik
Posts: 38
Joined: Mon Nov 22, 2004 5:15 am
Location: Zuerich; Switzerland
Contact:

Post by rik »

thank you.

i found this already, i rewrote some parts to use php curl.

so this will be a dependency after and i am not shure if i should do this. but it makes it possible to get the response http header.
tharok
Posts: 2
Joined: Sun Jun 27, 2010 8:07 am

Post by tharok »

Maybe this guy is on to something?

http://www.lecentre.net/blog/archives/297

I can't manage to get his script to work though. Yours worked like a charm, except for the mountspecific part :)

Best regards,
Tharok
barzog
Posts: 8
Joined: Thu Jan 31, 2002 7:00 pm

Re: icecast statistic

Post by barzog »

For this to work string: $sp_data = ereg_replace("^.*<icestats", "<icestats", $sp_data); must be replaced with $sp_data = preg_replace("/^.*<icestats/s", "<icestats", $sp_data);
circulosmeos
Posts: 3
Joined: Sat Mar 29, 2014 4:47 pm

Re: icecast statistic

Post by circulosmeos »

tharok wrote:Maybe this guy is on to something?

http://www.lecentre.net/blog/archives/297

I can't manage to get his script to work though. Yours worked like a charm, except for the mountspecific part :)

Best regards,

Tharok
In case it can help: I've published a step by step installation of that icecast's cacti bundle here: http://circulosmeos.wordpress.com/2014/ ... ith-cacti/
Greetings
User avatar
mac86
Posts: 9
Joined: Wed Jul 09, 2008 9:19 am
Location: Argentina - Bahia Blanca
Contact:

Re: icecast statistic

Post by mac86 »

circulosmeos wrote: Sat Aug 16, 2014 1:21 pm
tharok wrote:Maybe this guy is on to something?

http://www.lecentre.net/blog/archives/297

I can't manage to get his script to work though. Yours worked like a charm, except for the mountspecific part :)

Best regards,

Tharok
In case it can help: I've published a step by step installation of that icecast's cacti bundle here: http://circulosmeos.wordpress.com/2014/ ... ith-cacti/
Greetings
Thank you!!! beautiful IceCast template for Cacti :D
Mikrotik & Ubiquiti & Mimosa - Consultant from 1999
www.netpro-ar.com
Bahia Blanca - Argentina
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests