Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed May 22, 2019 10:52 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: SHOUTCAST streaming server Monitoring
PostPosted: Fri Oct 22, 2004 10:41 am 
Offline
Cacti User
User avatar

Joined: Mon Apr 26, 2004 7:18 am
Posts: 68
Location: Switzerland
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:
File comment: shows the current listeners for a server farm.
listeners.jpg
listeners.jpg [ 174.17 KiB | Viewed 49260 times ]
File comment: shows the total bandwith usage for all servers (the color scheme is beta ;) )
bandwith.jpg
bandwith.jpg [ 162.63 KiB | Viewed 49260 times ]

_________________
http://www.lounge-radio.com/
Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 23, 2004 5:56 pm 
Offline

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

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

thanks


Top
 Profile  
 
 Post subject: tunes R good
PostPosted: Sun Oct 24, 2004 7:09 pm 
Offline
Cacti User

Joined: Mon Oct 06, 2003 5:40 pm
Posts: 132
Location: Stanford, CA
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:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 4:52 pm 
Offline
Cacti User
User avatar

Joined: Mon Apr 26, 2004 7:18 am
Posts: 68
Location: Switzerland
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:
File comment: Version 1.0
shoutcast_monitoring_v1.0.zip [51.95 KiB]
Downloaded 2462 times
File comment: the script will generate the following graph
shoutcast_current_listeners.jpg
shoutcast_current_listeners.jpg [ 57.05 KiB | Viewed 49077 times ]

_________________
http://www.lounge-radio.com/
Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 27, 2004 5:53 am 
Offline
Cacti User
User avatar

Joined: Mon Apr 26, 2004 7:18 am
Posts: 68
Location: Switzerland
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:
File comment: example for shoutcast single server listeners statistic
example_shoutcast_single_server_stats.png
example_shoutcast_single_server_stats.png [ 6.05 KiB | Viewed 49057 times ]
File comment: example for shoutcast single server hits statistic
example_shoutcast_single_server_hits_stats.png
example_shoutcast_single_server_hits_stats.png [ 3.61 KiB | Viewed 49057 times ]
File comment: Version 1.1
shoutcast_monitoring_v1.1.zip [18.19 KiB]
Downloaded 2552 times

_________________
http://www.lounge-radio.com/
Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 02, 2004 5:06 pm 
Offline

Joined: Tue Nov 02, 2004 5:05 pm
Posts: 1
trying to download the script and its just trying to save download.php instead of the zip file :/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 03, 2004 4:29 am 
Offline
Cacti User
User avatar

Joined: Mon Apr 26, 2004 7:18 am
Posts: 68
Location: Switzerland
use another browser and retry again.
I tested the download with several browsers and its working here

_________________
http://www.lounge-radio.com/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 03, 2004 10:04 pm 
Offline

Joined: Fri Dec 03, 2004 9:52 pm
Posts: 1
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


Top
 Profile  
 
 Post subject: icecast
PostPosted: 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 ;-)


Top
  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 8:29 am 
Offline
Cacti User

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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 2:46 am 
Offline
Cacti User
User avatar

Joined: Sun Jul 24, 2005 12:20 pm
Posts: 121
Location: Ireland, Dublin
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 31, 2005 10:03 am 
Offline
Cacti User
User avatar

Joined: Mon Apr 26, 2004 7:18 am
Posts: 68
Location: Switzerland
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/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 4:08 pm 
Offline
Cacti User

Joined: Wed Jun 22, 2005 3:00 pm
Posts: 58
Hi
Any news ????

_________________
Visit my web site: http://www.websat-telecom.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 3:52 am 
Offline
Cacti User
User avatar

Joined: Mon Apr 26, 2004 7:18 am
Posts: 68
Location: Switzerland
well - its my mistake. forgot something.

i'll post a new template in the next days.
cheers
tom

_________________
http://www.lounge-radio.com/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2005 2:15 pm 
Offline
Cacti User

Joined: Wed Jun 22, 2005 3:00 pm
Posts: 58
Any news for the bug fix ?

_________________
Visit my web site: http://www.websat-telecom.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group