Hi guys, I'll would like to know some links to get stats from Icecast and for monitoring with Nagios. Please if some one have some links to share I'll appreciate. Regards from Argentina. Alejandro -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20120423/536d4b74/attachment.htm>
Hi, There isn't really a link to it, at my company we just did it by analyzing the status.xsl, getting the listeners count out of it, giving nagios the max amount of listeners, when it's around that limit, it sends out a warning. You kinda need to build this on your own. Best regards, *?kos Veres* _____________________________________________ http://akos.me - A little about me. On Mon, Apr 23, 2012 at 4:57 PM, Alejandro <cdgraff at gmail.com> wrote:> Hi guys, > > I'll would like to know some links to get stats from Icecast and for > monitoring with Nagios. > > Please if some one have some links to share I'll appreciate. > > Regards from Argentina. > Alejandro > > _______________________________________________ > 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/20120425/24da352e/attachment.htm>
Here's something you could start with: http://blog.james.rcpt.to/2011/01/29/counting-the-icecast-stream-eyeballs/ https://www.james.rcpt.to/svn/trunk/Icecast_Counting/poll_icecasters.pl Modify the script to list the Icecast server(s) you are using, and then do something with the resulting count. Perhaps shove it into RRD and call the script from cron? HTH, James On 25/04/2012 2:24 PM, Akos Veres wrote:> There isn't really a link to it, at my company we just did it by > analyzing the status.xsl, getting the listeners count out of it, > giving nagios the max amount of listeners, when it's around that > limit, it sends out a warning. > You kinda need to build this on your own. > > On Mon, Apr 23, 2012 at 4:57 PM, Alejandro <cdgraff at gmail.com > <mailto:cdgraff at gmail.com>> wrote: > > Hi guys, > I'll would like to know some links to get stats from Icecast and > for monitoring with Nagios. > Please if some one have some links to share I'll appreciate. >-- /Mobile:/ +61 422 166 708, /Email:/ james_AT_rcpt.to PLUG President 2012: http://www.plug.org.au <http//www.plug.org.au> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20120425/c9bcbc3e/attachment.htm
Hi, On 23/04/12 17:57, Alejandro wrote:> Hi guys, > > I'll would like to know some links to get stats from Icecast and for > monitoring with Nagios.What sort of things would you like to monitor with Nagios regarding Icecast? Icecast has a very powerful XSLT engine in use that can provide easy to parse or ready to use data. One VERY VERY important thing is: do NOT under any circumstances try to parse the HTML status pages! A random example of what you can do with this: http://www.ruecker-itk.de/foss/icecast/xslt/ http://www.ruecker-itk.de/foss/icecast/munin/ Cheers Thomas
Hi Akos, On 25/04/12 09:24, Akos Veres wrote:> There isn't really a link to it, at my company we just did it by > analyzing the status.xsl, getting the listeners count out of it, > giving nagios the max amount of listeners, when it's around that > limit, it sends out a warning.Please DON'T do such things. Parsing the html which is intended for human readable rendering is likely to get you into hot water! Icecast is using a very powerful XSLT engine that can produce easy to parse/use output in all possible formats. (see my other mail) Cheers Thomas