icecast statistic
Moderators: Developers, Moderators
icecast statistic
hello
i have finally done work on the script which reads the icecast2 xml file, to get the current listeners connected to my icecast2 server and put it into cacti...
this script is far away from a productive plug-in but it fullfills my actual needs.
my aim to publish it here whould be to find someone how whould like to help give it some great possibilities like:
- shoutcast - icecast support
- variables to set the host - password outside of the script
- and a lot more
here is it i hope it helps somone.
bbk
i have finally done work on the script which reads the icecast2 xml file, to get the current listeners connected to my icecast2 server and put it into cacti...
this script is far away from a productive plug-in but it fullfills my actual needs.
my aim to publish it here whould be to find someone how whould like to help give it some great possibilities like:
- shoutcast - icecast support
- variables to set the host - password outside of the script
- and a lot more
here is it i hope it helps somone.
bbk
- Attachments
-
- icecast0.zip
- (4.59 KiB) Downloaded 3074 times
Icecast 2 Listeners
Hi,
I did a small change:
- IP, User and Password can be given for each graph
- only Icecast2 support
You must have Cacti version 0.8.6c to import the templates but they are easy to create yourself.
Have fun - I hope one day someone will use it..... maybe.
Greets
Rik
I did a small change:
- IP, User and Password can be given for each graph
- only Icecast2 support
You must have Cacti version 0.8.6c to import the templates but they are easy to create yourself.
Have fun - I hope one day someone will use it..... maybe.
Greets
Rik
- Attachments
-
- v2.zip
- Icecast2 Stats
- (6.34 KiB) Downloaded 3614 times
not working icecast2 stats
hello websat
i had the same problem as well and then the connected listeners didn't reduce, that means i had about 200 listeners (great... but not true)
i checked the stats file of my icecast server and i found out that it was the problem.
my solution was to update the icecast server to the new version and then it worked like hell
hope it help's you (i think it is a problem of the icecast server 2.0)
greetz
i had the same problem as well and then the connected listeners didn't reduce, that means i had about 200 listeners (great... but not true)
i checked the stats file of my icecast server and i found out that it was the problem.
my solution was to update the icecast server to the new version and then it worked like hell
hope it help's you (i think it is a problem of the icecast server 2.0)
greetz
I reinstall cacti, and the icecast script, alway the same problem, is there someone who can make the script working well ?websat wrote:Hi
I have a small problem with your script, the graph alway show that there is 1 listener on the icecast server, but there is no one on it.
thanks
Visit my web site: http://www.websat-telecom.com
What Version of Icecast do you have?
Did you check the http://www.yourserver.net:8000/admin/stats.xsl if there the number of listeners are correct?
When you have listeners on your stream, does it count them always +1, like 3 listeners = 4 in the stats?
for me i just upgraded the icecast software it self, not the cacti.
Did you check the http://www.yourserver.net:8000/admin/stats.xsl if there the number of listeners are correct?
When you have listeners on your stream, does it count them always +1, like 3 listeners = 4 in the stats?
for me i just upgraded the icecast software it self, not the cacti.
Icecast 2.3.1
finally I have a icecast 2.3.1 up and running.
just that I have a problem with ices 0.4.
after I solved ices...
I will test and modify the script to the needs of icecast 2.3.1.
.::BBK::.
www.audioasyl.net
just that I have a problem with ices 0.4.
after I solved ices...
I will test and modify the script to the needs of icecast 2.3.1.
.::BBK::.
www.audioasyl.net
Help!!!!
Greetings!
Thanks for this excellent tool I believe that it is going to help to me much! I have the following problem: the truth is that not that he is what readme requests the arhivo to me to do, some of you podria to give an example me?
Thanks!
Thanks for this excellent tool I believe that it is going to help to me much! I have the following problem: the truth is that not that he is what readme requests the arhivo to me to do, some of you podria to give an example me?
Thanks!
import the xml files, put the php files in the /scripts directory in cacti.e-Minguez wrote:Hi!
Could you post any "installation howto"? I've tried, but it doesn't work
The php script works (in cli, it prints the clients), but cacti doesn't paint the graph :S
Thanks!
what I did additionally was to append "| tail -1 " to the input string in data input methods after the command to be executed (the first line is a blank when executing php -q .... and you get something like this the following in cacti.log:
10/12/2008 03:50:03 PM - CMDPHP: Poller[0] Host[22] DS[409] WARNING: Result from CMD not valid. Partial Result:
then it worked
Back again.
Ok.
Now after 5 years i come back to this plug in... it seems for me i still have a need for this
I am cleaning up the code a little bit.... i just discovered that the script was getting the wrong value.
I will build in the possibility to survey the listeners regarding multiple mountpoints.
Now after 5 years i come back to this plug in... it seems for me i still have a need for this
I am cleaning up the code a little bit.... i just discovered that the script was getting the wrong value.
I will build in the possibility to survey the listeners regarding multiple mountpoints.
Who is online
Users browsing this forum: No registered users and 8 guests