View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Tue Feb 20, 2007 12:16 pm Post subject: estadísticas del número de clientes... |
|
|
Buenas!! tengo colgada mi radio desde hace bastante tiempo, usando el servidor Icecast y Darkice. Sin problemas...
¿Pero alguien sabe cómo conocer cuántas conexiones hay?
No en tiempo real, si no cómo realizar por ejemplo unas estadísticas, a lo largo de un mes por ejemplo, de cuántos clientes de media he tenido en la radio online, cuántos simultáneamente, e incluso cuántos se han tenido que quedar sin poder escucharla ya que el ancho de banda ya estaba plenamente ocupado.
Bueno, muchas gracias y hasta pronto............ Patxi. |
|
Back to top |
|
|
bettocr
Joined: 15 Dec 2006 Posts: 35 Location: San Jose
|
Posted: Sun Mar 04, 2007 3:14 am Post subject: estadisticas |
|
|
La solucion es que instales en el server awstats o webalizer, son faciles de configurar para icecast.
Y te dan buena informacion, si quieres saber cuantos conexiones simultaneas tienes es un poco mas dificil, mira eso se puede saber con SimpleCast pero en tiempo real.
Espero te ayude esto que digo. _________________ Roberto Arias
---------------------------------------------------------
www.rarcomputacion.com |
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Mar 05, 2007 4:31 pm Post subject: Re: estadisticas |
|
|
bettocr wrote: |
La solucion es que instales en el server awstats o webalizer, son faciles de configurar para icecast.
Y te dan buena informacion, si quieres saber cuantos conexiones simultaneas tienes es un poco mas dificil, mira eso se puede saber con SimpleCast pero en tiempo real.
Espero te ayude esto que digo. |
Puedes suministrar las fuentes o los pasos para configurar icecast con webalizer o awstats ? |
|
Back to top |
|
|
epe Asesor español
Joined: 27 Aug 2005 Posts: 132 Location: Quito - Ecuador
|
|
Back to top |
|
|
Anonymous Guest
|
Posted: Mon Jul 30, 2007 1:41 pm Post subject: Eejemplo de awstats para streaming |
|
|
Sacado de: http://awstats.sourceforge.net/docs/awstats_faq.html#MEDIASERVER
FAQ-COM110 : SETUP FOR A MEDIA SERVER (REALMEDIA, WINDOWS MEDIA SERVER, DARWIN STREAMING SERVER)
PROBLEM:
What do I have to do to use AWStats to analyze my Media Server log files.
SOLUTION:
For Realmedia
Your log file will probably looks like this:
216.125.146.50 - - [16/Sep/2002:14:57:21 -0500] "GET cme/rhythmcity/rcitycaddy.rm?cloakport=8080,554,7070 RTSP/1.0" 200 6672 [Win95_4.0_6.0.9.374_play32_NS80_en-US_586] [80d280e1-c9ae-11d6-fa53-d52aaed98681] [UNKNOWN] 281712 141 3 0 0 494
Copy config awstats.model.conf file to "awstats.mediaserver.conf". Modify this new config file:
LogFile="/pathtomediaserverlog/mediaserverlog"
LogType=S
LogFormat="%host %other %logname %time1 %methodurl %code %bytesd %uabracket %other %other %other %other %other %other %other %other"
LogSeparator="\s+"
ShowMenu=1
ShowSummary=UHB
ShowMonthStats=UHB
ShowDaysOfMonthStats=HB
ShowDaysOfWeekStats=HB
ShowHoursStats=HB
ShowDomainsStats=HB
ShowHostsStats=HBL
ShowAuthenticatedUsers=0
ShowRobotsStats=0
ShowEMailSenders=0
ShowEMailReceivers=0
ShowSessionsStats=0
ShowPagesStats=PB
ShowFileTypesStats=HB
ShowFileSizesStats=0
ShowBrowsersStats=1
ShowOSStats=1
ShowOriginStats=H
ShowKeyphrasesStats=0
ShowKeywordsStats=0
ShowMiscStats=0
ShowHTTPErrorsStats=1
ShowSMTPErrorsStats=0
Now you can use AWStats as usual (run the update process and read statistics).
For Windows Media Server / Darwin Streaming Server
1- If your Windows Media / Darwin streaming Server version allows it, setup your log format to write the following fields:
c-ip
date
time
cs-uri-stem
c-starttime
x-duration
c-rate
c-status
c-playerid
c-playerversion
c-playerlanguage
cs(User-Agent)
cs(Referer)
c-hostexe
c-hostexever
c-os
c-osversion
c-cpu
filelength
filesize
avgbandwidth
protocol
transport
audiocodec
videocodec
channelURL
sc-bytes
To make the change effective, stop your server, remove old log files and restart the server.
Listen to streaming files and check that your new log file looks like this:
80.223.91.37 2002-10-08 14:18:58 mmst://mydomain.com/mystream 0 106 1 200 {F4A826EE-FA46-480F-A49B-76786320FC6B} 8.0.0.4477 fi-FI - - wmplayer.exe 8.0.0.4477 Windows_2000 5.1.0.2600 Pentium 0 0 20702 mms TCP Windows_Media_Audio_9 - - 277721
If your Windows Media/Darwin Streaming Server version does not allow to define your log format:
Just follow instructions in step 2 directly but use the log format string found in first lines of your log files (Just after the "#Fields:" string) as value for AWStats LogFormat parameter. For example, you could have a LogFormat defined like this:
LogFormat="c-ip date time c-dns cs-uri-stem c-starttime x-duration c-rate c-status c-playerid c-playerversion c-playerlanguage cs(User-Agent) cs(Referer) c-hostexe c-hostexever c-os c-osversion c-cpu filelength filesize avgbandwidth protocol transport audiocodec videocodec channelURL sc-bytes c-bytes s-pkts-sent c-pkts-received c-pkts-lost-client c-pkts-lost-net c-pkts-lost-cont-net c-resendreqs c-pkts-recovered-ECC c-pkts-recovered-resent c-buffercount c-totalbuffertime c-quality s-ip s-dns s-totalclients s-cpu-util"
This means you don't use the AWStats tags but AWStats can often also understand all the IIS and/or Windows Media Server tags.
2- Then setup AWStats to analyze your Media Server log:
Copy config awstats.model.conf file to "awstats.mediaserver.conf".
Modify this new config file:
LogFile="/pathtomediaserver/mediaserverlog"
LogType=S
LogFormat="c-ip date time cs-uri-stem c-starttime x-duration c-rate c-status c-playerid c-playerversion c-playerlanguage cs(User-Agent) cs(Referer) c-hostexe c-hostexever c-os c-osversion c-cpu filelength filesize avgbandwidth protocol transport audiocodec videocodec channelURL sc-bytes"
DecodeUA=1
ShowMenu=1
ShowSummary=UHB
ShowMonthStats=UHB
ShowDaysOfMonthStats=HB
ShowDaysOfWeekStats=HB
ShowHoursStats=HB
ShowDomainsStats=HB
ShowHostsStats=HBL
ShowAuthenticatedUsers=0
ShowRobotsStats=0
ShowEMailSenders=0
ShowEMailReceivers=0
ShowSessionsStats=0
ShowPagesStats=PB
ShowFileTypesStats=HB
ShowFileSizesStats=0
ShowBrowsersStats=1
ShowOSStats=1
ShowOriginStats=H
ShowKeyphrasesStats=0
ShowKeywordsStats=0
ShowMiscStats=0
ShowHTTPErrorsStats=1
ShowSMTPErrorsStats=0
Now you can use AWStats as usual (run the update process and read statistics). |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group subRebel style by ktauber
|