[Icecast] Alert Email

Winn Johnston winnjohnston at gmail.com
Wed Jul 24 22:27:38 UTC 2013


It looks like those are bash scripts so try something like

be sure your mail binary path is correct it may be somewhere else other
then /bin
echo "/bin/mail -s connecting someone at somewhere.com" >
 /home/icecast/bin/source-start

chmod 775 /home/icecast/bin/source-start

you may have a chown permissions issue too if the user that runs icecast
can't see the  /home/icecast/bin/source-start

do the same for the source-end script

-winn



On Wed, Jul 24, 2013 at 9:39 AM, Phil - w2lie <w2lie at w2lie.net> wrote:

> **
>
> That would be possible if you call out a script in the connect or
> disconnect actions.
>
>
>
> I'm told that Icecast pushes the mount point as a variable, but I was
> unable to find any documentation.  Does Icecast push the mount point to the
> on-connect and on-disconnect scripts as a variable?
>
> From the online docs:
>
>     <mount>
>
>         <on-connect>/home/icecast/bin/source-start</on-connect>
>         <on-disconnect>/home/icecast/bin/source-end</on-disconnect>
>     </mount>
>
>
>
> ---
> Phil / w2liehttp://www.w2lie.net
>
>  On 2013-07-24 12:33, Miguel s wrote:
>
> anyone knows if is possible to create an email alert to notify me when a
> mount point is connecting and disconnecting?
>
> _______________________________________________
> Icecast mailing listIcecast at xiph.orghttp://lists.xiph.org/mailman/listinfo/icecast
>
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20130724/e791ba77/attachment.htm>


More information about the Icecast mailing list