|
|
| Author |
Message |
rik
Joined: 22 Nov 2004 Posts: 36 Location: Zuerich; Switzerland
|
|
| Back to top |
|
 |
rik
Joined: 22 Nov 2004 Posts: 36 Location: Zuerich; Switzerland
|
Posted: Sat Oct 15, 2005 5:16 pm Post subject: 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
| Description: |
|
 Download |
| Filename: |
v2.zip |
| Filesize: |
6.34 KB |
| Downloaded: |
1299 Time(s) |
|
|
| Back to top |
|
 |
sumsum Cacti User
Joined: 26 Apr 2004 Posts: 57 Location: Switzerland
|
Posted: Sun Oct 16, 2005 1:00 pm Post subject: |
|
|
thanx for the script ! nice work
i will enhance this script or a similar scripts for monitoring different mountpoints.
btw i did allready a similar script for shoutcast servers. just search the forum.
cheers
tom
|
|
| Back to top |
|
 |
websat Cacti User
Joined: 22 Jun 2005 Posts: 58
|
Posted: Thu Oct 27, 2005 3:22 am Post subject: |
|
|
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.
| Description: |
|
| Filesize: |
21.87 KB |
| Viewed: |
11427 Time(s) |

|
|
|
| Back to top |
|
 |
laradji
Joined: 10 May 2005 Posts: 9
|
Posted: Sat Oct 29, 2005 4:47 am Post subject: |
|
|
| Thank you for this script.
|
|
| Back to top |
|
 |
rik
Joined: 22 Nov 2004 Posts: 36 Location: Zuerich; Switzerland
|
Posted: Tue Nov 08, 2005 3:03 am Post subject: 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
|
|
| Back to top |
|
 |
websat Cacti User
Joined: 22 Jun 2005 Posts: 58
|
Posted: Tue Jun 27, 2006 4:04 am Post subject: |
|
|
| 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. |
I reinstall cacti, and the icecast script, alway the same problem, is there someone who can make the script working well ?
thanks
|
|
| Back to top |
|
 |
rik
Joined: 22 Nov 2004 Posts: 36 Location: Zuerich; Switzerland
|
Posted: Tue Jun 27, 2006 5:09 am Post subject: |
|
|
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.
|
|
| Back to top |
|
 |
websat Cacti User
Joined: 22 Jun 2005 Posts: 58
|
Posted: Tue Jun 27, 2006 1:05 pm Post subject: |
|
|
| hi, thanks for your help, i have icecast 2.3.1 and the numbers of listeners is correct on the stats.xsl when i have 0 listener the stats.xsl show 0 and when i have 1 the stats.xsl show 1.
|
|
| Back to top |
|
 |
rik
Joined: 22 Nov 2004 Posts: 36 Location: Zuerich; Switzerland
|
Posted: Tue Jul 25, 2006 9:16 am Post subject: 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
|
|
| Back to top |
|
 |
bettocr
Joined: 16 Dec 2006 Posts: 1
|
Posted: Sat Dec 16, 2006 11:50 pm Post subject: 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!
|
|
| Back to top |
|
 |
rik
Joined: 22 Nov 2004 Posts: 36 Location: Zuerich; Switzerland
|
Posted: Sun Dec 17, 2006 9:26 am Post subject: |
|
|
sorry....
i didn't understood your question about the readme.
do you want an example? of what?
about the posts before... i think the counter also counts a connected admin to the webinterface as an listener... that's why there is a 1.
|
|
| Back to top |
|
 |
e-Minguez
Joined: 23 Jul 2007 Posts: 1
|
Posted: Mon Jul 23, 2007 6:01 am Post subject: |
|
|
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!
|
|
| Back to top |
|
 |
mishoo
Joined: 12 Oct 2008 Posts: 1
|
Posted: Sun Oct 12, 2008 8:11 am Post subject: |
|
|
| 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! |
import the xml files, put the php files in the /scripts directory in cacti.
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 to top |
|
 |
|