SHOUTCAST streaming server Monitoring

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

Moderators: Moderators, Developers

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

SHOUTCAST streaming server Monitoring

#1 Post by sumsum » Fri Oct 22, 2004 10:41 am

hello

I am working on a bunch of php scripts which reads the XML data from a shoutcast server (streaming server for webradio stations).

features will be :

- Monitoring a single server
- Monitoring a bunch of servers (server farm)

monitoring will contains :
- current listeners
- stream hits
- webhits
- bandwith usage
- peak listeners
- max listeners

at least everything the shoutcast server will provide.

Is there need for that or may I alone with that ? ;) what DO YOU think ?


following a preview of two graphs I made for my own webradio station.
Attachments
bandwith.jpg
shows the total bandwith usage for all servers (the color scheme is beta ;) )
bandwith.jpg (162.63 KiB) Viewed 49527 times
listeners.jpg
shows the current listeners for a server farm.
listeners.jpg (174.17 KiB) Viewed 49527 times
http://www.lounge-radio.com/

Illusion
Posts: 2
Joined: Sat Oct 23, 2004 5:54 pm

#2 Post by Illusion » Sat Oct 23, 2004 5:56 pm

hi,

i would be interested in this addon, is it ready for testing ?

thanks

fletch
Cacti User
Posts: 132
Joined: Mon Oct 06, 2003 5:40 pm
Location: Stanford, CA

tunes R good

#3 Post by fletch » Sun Oct 24, 2004 7:09 pm

What do I think? -
I think you plugged your radio station via cacti - but that's cool - I'm getting
65Kbps of groovy lounge tunes here in Stanford,CA all the way from Switerland - not bad...

Is this an example of that "stealth marketing" I keep hearing about :wink:

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

#4 Post by sumsum » Mon Oct 25, 2004 4:52 pm

here is a first version of the shoutcast server monitoring I explained above.

Version 1.0 (2004.10.25)
-----------------------------
- graphical representation of current listeners for a single server
- Installation support in english (sorry my english isn't that good)


In preparation :
------------------
## Monitoring a single server ##

- stream hits
- webhits
- bandwith usage
- peak listeners
- max listeners

everything on different graphs


It's my first script for cacti. please have patience with me. I try to improve it , if there is something missing. I tested it on my site and its working.

cheers
tom
Attachments
shoutcast_monitoring_v1.0.zip
Version 1.0
(51.95 KiB) Downloaded 2470 times
shoutcast_current_listeners.jpg
the script will generate the following graph
shoutcast_current_listeners.jpg (57.05 KiB) Viewed 49344 times
http://www.lounge-radio.com/

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

#5 Post by sumsum » Wed Oct 27, 2004 5:53 am

another drop with enhanced monitoring for a single shoutcast server

Version 1.1 (2004.10.26)
-----------------------------

graphical representation for a single server with :

on graph 1
- bandwith usage
- peak listeners
- max listeners
- current listeners

on graph 2
- stream hits
- webhits

- optimized php scripts


In preparation :
------------------
## Monitoring a bunch of servers (server farm) ##


cheers
tom
Attachments
shoutcast_monitoring_v1.1.zip
Version 1.1
(18.19 KiB) Downloaded 2564 times
example_shoutcast_single_server_hits_stats.png
example for shoutcast single server hits statistic
example_shoutcast_single_server_hits_stats.png (3.61 KiB) Viewed 49324 times
example_shoutcast_single_server_stats.png
example for shoutcast single server listeners statistic
example_shoutcast_single_server_stats.png (6.05 KiB) Viewed 49324 times
http://www.lounge-radio.com/

nigey2k2
Posts: 1
Joined: Tue Nov 02, 2004 5:05 pm

#6 Post by nigey2k2 » Tue Nov 02, 2004 5:06 pm

trying to download the script and its just trying to save download.php instead of the zip file :/

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

#7 Post by sumsum » Wed Nov 03, 2004 4:29 am

use another browser and retry again.
I tested the download with several browsers and its working here
http://www.lounge-radio.com/

brian213
Posts: 1
Joined: Fri Dec 03, 2004 9:52 pm

#8 Post by brian213 » Fri Dec 03, 2004 10:04 pm

Hi sumsum,

I'm running a server with 2 streams (a 64 and 128, and will probably add more) and would like to get stats for both. I haven't seen any functionality in your scripts for doing that easily.

Easiest way to do this right now looks like I'd need to have 2 sets of scripts (different names) if I wish to monitor both streams.

Any ideas for doing this? Looks like you were doing something like that in your first example graph, but I am not sure how you did that.

Cheers!

-Brian

bytebanditkiller

icecast

#9 Post by bytebanditkiller » Sun Dec 05, 2004 5:29 pm

hello

actually we have very well implanted the icecast streaming server and i am very happy about it... it is running for almost 2 years now :-)

so i whould be interested to have the same for an icecast server, has already someone done this an has a template?

i whould be greatfull........ :-)

ps: you can download the download.php and rename it with a .zip... worked for me ;-)

websat
Cacti User
Posts: 58
Joined: Wed Jun 22, 2005 3:00 pm
Contact:

#10 Post by websat » Fri Jul 29, 2005 8:29 am

Hi

i have no graph and have this error " RRDTool Says:

ERROR: Not a valid vname: #FF9900 in line LINE2:#FF9900:streamhits
"
Visit my web site: http://www.websat-telecom.com

User avatar
mojiro
Cacti User
Posts: 121
Joined: Sun Jul 24, 2005 12:20 pm
Location: Ireland, Dublin

#11 Post by mojiro » Sun Jul 31, 2005 2:46 am

websat wrote:Hi

i have no graph and have this error " RRDTool Says:

ERROR: Not a valid vname: #FF9900 in line LINE2:#FF9900:streamhits
"
me too, with 1.1 version

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

#12 Post by sumsum » Sun Jul 31, 2005 10:03 am

hi

i'll check that and post the latest scripts. maybe the problem is somewhere in the template. sorry
tom
http://www.lounge-radio.com/

websat
Cacti User
Posts: 58
Joined: Wed Jun 22, 2005 3:00 pm
Contact:

#13 Post by websat » Mon Aug 01, 2005 4:08 pm

Hi
Any news ????
Visit my web site: http://www.websat-telecom.com

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

#14 Post by sumsum » Tue Aug 02, 2005 3:52 am

well - its my mistake. forgot something.

i'll post a new template in the next days.
cheers
tom
http://www.lounge-radio.com/

websat
Cacti User
Posts: 58
Joined: Wed Jun 22, 2005 3:00 pm
Contact:

#15 Post by websat » Fri Aug 05, 2005 2:15 pm

Any news for the bug fix ?
Visit my web site: http://www.websat-telecom.com

Post Reply