[Icecast] Check feed connected, active - IceCast 2.4.x

Dave Pascoe davekm3t at gmail.com
Mon Apr 13 01:26:13 UTC 2015


There is a plugin for Nagios called check_ice that you can also just
compile and run standalone.

See: https://github.com/pozar/check_ice


On Sun, Apr 12, 2015 at 7:50 PM, Dean Sauer <wemanageitfl at gmail.com> wrote:

> On Sat, 11 Apr 2015 07:03:16 +0000, Philipp Schafft wrote:
>
> > You can request /admin/stats.xml. That file will return the overall
> > server status including per source information. If the server returns
> > 200 with the expected XML document the server is up and running.
>
> Thanks, my pseudo code already determined that and the underlying issue.
>
> If I query the server on port 8000 and get 200, then its up/running...
>
> Now the sources...
>
>
> > You can
> > look at the <source> tags to find out if the sources are connected.
>
> Thanks, but no I am not scraping/parsing that. I despise the whole
> concept of "scraping" sites like this, there is already one piece of
> software doing this as it is in my arena.
>
> doing  a:
>
> urllib.urlopen("http://domain/source").getcode()
>
> just returns a 200 even if the actual source is down, and the source is
> on a fall back. If I were following http expectations I should get 302,
> temp redirection as used widely, or 307 if you stick to the strict
> standard.
>
> Sadly right now the simple check that IceCast is UP will have to suffice,
> and covers the main problem, right now.
>
> _______________________________________________
> 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/20150412/5024f17d/attachment.htm>


More information about the Icecast mailing list