SHOUTCAST streaming server Monitoring

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:

SHOUTCAST streaming server Monitoring

Post by sumsum »

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
shows the total bandwith usage for all servers (the color scheme is beta ;) )
shows the total bandwith usage for all servers (the color scheme is beta ;) )
bandwith.jpg (162.63 KiB) Viewed 53065 times
shows the current listeners for a server farm.
shows the current listeners for a server farm.
listeners.jpg (174.17 KiB) Viewed 53065 times
http://www.lounge-radio.com/
Illusion
Posts: 2
Joined: Sat Oct 23, 2004 5:54 pm

Post by Illusion »

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

Post by fletch »

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:

Post by sumsum »

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 2693 times
the script will generate the following graph
the script will generate the following graph
shoutcast_current_listeners.jpg (57.05 KiB) Viewed 52882 times
http://www.lounge-radio.com/
User avatar
sumsum
Cacti User
Posts: 68
Joined: Mon Apr 26, 2004 7:18 am
Location: Switzerland
Contact:

Post by sumsum »

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 2788 times
example for shoutcast single server hits statistic
example for shoutcast single server hits statistic
example_shoutcast_single_server_hits_stats.png (3.61 KiB) Viewed 52862 times
example for shoutcast single server listeners statistic
example for shoutcast single server listeners statistic
example_shoutcast_single_server_stats.png (6.05 KiB) Viewed 52862 times
http://www.lounge-radio.com/
nigey2k2
Posts: 1
Joined: Tue Nov 02, 2004 5:05 pm

Post by nigey2k2 »

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:

Post by sumsum »

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

Post by brian213 »

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

Post by bytebanditkiller »

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: 70
Joined: Wed Jun 22, 2005 3:00 pm
Contact:

Post by websat »

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

Post by mojiro »

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:

Post by sumsum »

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: 70
Joined: Wed Jun 22, 2005 3:00 pm
Contact:

Post by websat »

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:

Post by sumsum »

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: 70
Joined: Wed Jun 22, 2005 3:00 pm
Contact:

Post by websat »

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

Who is online

Users browsing this forum: No registered users and 0 guests