Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


SHOUTCAST streaming server Monitoring
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
sumsum
Cacti User


Joined: 26 Apr 2004
Posts: 60
Location: Switzerland

PostPosted: Fri Oct 22, 2004 10:41 am    Post subject: SHOUTCAST streaming server Monitoring Reply with quote

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.



listeners.jpg
 Description:
shows the current listeners for a server farm.
 Filesize:  174.17 KB
 Viewed:  23085 Time(s)

listeners.jpg



bandwith.jpg
 Description:
shows the total bandwith usage for all servers (the color scheme is beta ;) )
 Filesize:  162.63 KB
 Viewed:  23085 Time(s)

bandwith.jpg


Back to top
Illusion



Joined: 23 Oct 2004
Posts: 2

PostPosted: Sat Oct 23, 2004 5:56 pm    Post subject: Reply with quote

hi,

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

thanks
Back to top
fletch
Cacti User


Joined: 06 Oct 2003
Posts: 106
Location: Stanford, CA

PostPosted: Sun Oct 24, 2004 7:09 pm    Post subject: tunes R good Reply with quote

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
Back to top
sumsum
Cacti User


Joined: 26 Apr 2004
Posts: 60
Location: Switzerland

PostPosted: Mon Oct 25, 2004 4:52 pm    Post subject: Reply with quote

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



shoutcast_current_listeners.jpg
 Description:
the script will generate the following graph
 Filesize:  57.05 KB
 Viewed:  22902 Time(s)

shoutcast_current_listeners.jpg



shoutcast_monitoring_v1.0.zip
 Description:
Version 1.0

Download
 Filename:  shoutcast_monitoring_v1.0.zip
 Filesize:  51.95 KB
 Downloaded:  1219 Time(s)

Back to top
sumsum
Cacti User


Joined: 26 Apr 2004
Posts: 60
Location: Switzerland

PostPosted: Wed Oct 27, 2004 5:53 am    Post subject: Reply with quote

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



example_shoutcast_single_server_stats.png
 Description:
example for shoutcast single server listeners statistic
 Filesize:  6.05 KB
 Viewed:  22882 Time(s)

example_shoutcast_single_server_stats.png



example_shoutcast_single_server_hits_stats.png
 Description:
example for shoutcast single server hits statistic
 Filesize:  3.61 KB
 Viewed:  22882 Time(s)

example_shoutcast_single_server_hits_stats.png



shoutcast_monitoring_v1.1.zip
 Description:
Version 1.1

Download
 Filename:  shoutcast_monitoring_v1.1.zip
 Filesize:  18.19 KB
 Downloaded:  1485 Time(s)

Back to top
nigey2k2



Joined: 02 Nov 2004
Posts: 1

PostPosted: Tue Nov 02, 2004 5:06 pm    Post subject: Reply with quote

trying to download the script and its just trying to save download.php instead of the zip file :/
Back to top
sumsum
Cacti User


Joined: 26 Apr 2004
Posts: 60
Location: Switzerland

PostPosted: Wed Nov 03, 2004 4:29 am    Post subject: Reply with quote

use another browser and retry again.
I tested the download with several browsers and its working here
Back to top
brian213



Joined: 03 Dec 2004
Posts: 1

PostPosted: Fri Dec 03, 2004 10:04 pm    Post subject: Reply with quote

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
Back to top
bytebanditkiller
Guest





PostPosted: Sun Dec 05, 2004 5:29 pm    Post subject: icecast Reply with quote

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
Back to top
websat
Cacti User


Joined: 22 Jun 2005
Posts: 58

PostPosted: Fri Jul 29, 2005 8:29 am    Post subject: Reply with quote

Hi

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

ERROR: Not a valid vname: #FF9900 in line LINE2:#FF9900:streamhits
"
Back to top
mojiro
Cacti User


Joined: 24 Jul 2005
Posts: 60
Location: Greece, Korydallos - Athens (AWMN)

PostPosted: Sun Jul 31, 2005 2:46 am    Post subject: Reply with quote

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
Back to top
sumsum
Cacti User


Joined: 26 Apr 2004
Posts: 60
Location: Switzerland

PostPosted: Sun Jul 31, 2005 10:03 am    Post subject: Reply with quote

hi

i'll check that and post the latest scripts. maybe the problem is somewhere in the template. sorry
tom
Back to top
websat
Cacti User


Joined: 22 Jun 2005
Posts: 58

PostPosted: Mon Aug 01, 2005 4:08 pm    Post subject: Reply with quote

Hi
Any news ????
Back to top
sumsum
Cacti User


Joined: 26 Apr 2004
Posts: 60
Location: Switzerland

PostPosted: Tue Aug 02, 2005 3:52 am    Post subject: Reply with quote

well - its my mistake. forgot something.

i'll post a new template in the next days.
cheers
tom
Back to top
websat
Cacti User


Joined: 22 Jun 2005
Posts: 58

PostPosted: Fri Aug 05, 2005 2:15 pm    Post subject: Reply with quote

Any news for the bug fix ?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group