[Icecast] Check feed connected, active - IceCast 2.4.x
cdgraff at gmail.com
Sun Apr 12 18:55:45 PDT 2015
Here can take a look other alternative:
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.
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>
>> 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:
>> 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
>> 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
> Icecast mailing list
> Icecast at xiph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Icecast