Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to get statistics without admin password

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Dave18



Joined: 26 Jan 2010
Posts: 20

PostPosted: Thu Sep 23, 2010 10:15 am    Post subject: how to get statistics without admin password Reply with quote

Hi,

I'm using SpacialAudio Simplecast to stream to a Icecast server.
Everything is ok, but I'd like to know if there is a way the get the statistics on simplecast.
On Simplecast I can define a statistic relay to see how many listeners are connected, but it ask a password.
If I set the administrator password I can see the listeners, but it's the main admin password so I can do everything on the server.
Is there a way to set up a password to see only the statistics of a single mountpoint?
If I use the password for the stream encoder I don't access to the statistics.

Thanks

Dave
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 23, 2010 12:04 pm    Post subject: Reply with quote

does the http://.../admin/stats.xml?mount=/stream type url not work with source authentication?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dave18



Joined: 26 Jan 2010
Posts: 20

PostPosted: Thu Sep 23, 2010 12:38 pm    Post subject: Reply with quote

I've tried the url, it asks userid/password.
It doesn't accept admin/"password of the mountpoint", it only accepts admin/"server main password".

Is there a way to use the mountpoint password?

Thanks Karl for your help.

Dave

PS: if I write admin/"server main password" icecast answer "Mount request unknown"
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 23, 2010 1:18 pm    Post subject: Reply with quote

it won't be admin, it will be whatever the source username is for the mountpoint, source is the default username

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dave18



Joined: 26 Jan 2010
Posts: 20

PostPosted: Thu Sep 23, 2010 2:10 pm    Post subject: Reply with quote

Karl,

I didn't know the "source" userid, sorry.
http://.../admin/stats.xml?mount=/stream works on a Windows server where I have Icecast 2.3.2.
On a Linux server I have Icecast 2.3.1, the login step with "source" userid works, but I see this message instaed of the xlm file:
"Mount request unknown".
Have you got any idea?

Anyway I've tried to use source userid with Spacialaudio Simplecast to retrive statistics from the Icecast Windows server, but it always says "error retrieving xml document (Authenication Required)".
If I use admin account it works.
I know probably it's a problem of Simplecast, but have you got any ideas or experiences about this problem?

Thanks again.

Dave
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 23, 2010 4:53 pm    Post subject: Reply with quote

2.3.1 did not have the per-mount stats support, only the admin/all mount stats listing.

I suspect that simplecast is just using /admin/stats.xml as the request which requires the admin auth.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dave18



Joined: 26 Jan 2010
Posts: 20

PostPosted: Thu Sep 23, 2010 5:03 pm    Post subject: Reply with quote

I agree with you.
Karl thanks for your help, I really appreciate.

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
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