[Icecast] Check feed connected, active - IceCast 2.4.x
Alejandro
cdgraff at gmail.com
Mon Apr 13 01:55:45 UTC 2015
Here can take a look other alternative:
https://github.com/cdgraff/icecast-mon
We base our solution in avprobe/ffprobe, this test like a real listener.
Feedback is welcome! this is just first release, but we use on production.
Regards,
Alejandro
2015-04-12 22:26 GMT-03:00 Dave Pascoe <davekm3t at gmail.com>:
> 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
>>
>
>
> _______________________________________________
> 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/727629ac/attachment.htm>
More information about the Icecast
mailing list