hello all, i'm trying to monitorize the stats of my icecast server using some php scripts ... i need to access the info of the files /admin/stats.xsl /admin/listmounts.xsl /admin/listclients.xsl from a remote machine and i don't want to send every time the admin passwd ... there is any way to make this info visible in the public /status.xsl page or in any other ??? thanks a lot. ll.
lluis wrote:> i need to access the info of the files > > /admin/stats.xsl > /admin/listmounts.xsl > /admin/listclients.xsl > > from a remote machine and i don't want to send every time the admin passwd ... > > there is any way to make this info visible in the public /status.xsl page or > in any other ???All the admin functions sit behind the admin PW, and there's no way that I've found to separate them, but I had a similar issue. I wanted to let other people monitor the connection stats and such of the stream without giving out the PW. I run a cron job on a remote machine that gets the stats file every minute (the stats prog we use needs the stats.xml file) with the admin UN/PW, and everyone then gets the stats from my remote box without needing the admin PW or having access to the admin functions. -I
Regardless of the xsl files. Can't we communicate with the icecast server directly to retrieve the information ?? On Mon, 14 Feb 2005 12:58:56 -0500, Ian A. Underwood <agentgrn@dcne.net> wrote:> lluis wrote: > > i need to access the info of the files > > > > /admin/stats.xsl > > /admin/listmounts.xsl > > /admin/listclients.xsl > > > > from a remote machine and i don't want to send every time the admin passwd ... > > > > there is any way to make this info visible in the public /status.xsl page or > > in any other ??? > > All the admin functions sit behind the admin PW, and there's no way that > I've found to separate them, but I had a similar issue. > > I wanted to let other people monitor the connection stats and such of > the stream without giving out the PW. I run a cron job on a remote > machine that gets the stats file every minute (the stats prog we use > needs the stats.xml file) with the admin UN/PW, and everyone then gets > the stats from my remote box without needing the admin PW or having > access to the admin functions. > > -I > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-- Mohamed Eldesoky www.eldesoky.net RHCE
Ian A. Underwood schrieb:> machine that gets the stats file every minute (the stats prog we use > needs the stats.xml file) with the admin UN/PW, and everyone then getsIIRC someone on this list once wrote a passthrough xslt. it simply gives same output as the stats.xml file but without the password hassle. security implications should be observed! regards Thomas