| View previous topic :: View next topic |
| Author |
Message |
Dave18
Joined: 26 Jan 2010 Posts: 20
|
Posted: Thu Sep 23, 2010 10:15 am Post subject: how to get statistics without admin password |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
|
| Back to top |
|
 |
Dave18
Joined: 26 Jan 2010 Posts: 20
|
Posted: Thu Sep 23, 2010 12:38 pm Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Sep 23, 2010 1:18 pm Post subject: |
|
|
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 |
|
 |
Dave18
Joined: 26 Jan 2010 Posts: 20
|
Posted: Thu Sep 23, 2010 2:10 pm Post subject: |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Sep 23, 2010 4:53 pm Post subject: |
|
|
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 |
|
 |
Dave18
Joined: 26 Jan 2010 Posts: 20
|
Posted: Thu Sep 23, 2010 5:03 pm Post subject: |
|
|
I agree with you.
Karl thanks for your help, I really appreciate.
Dave |
|
| Back to top |
|
 |
|