Skip to content

Icecast monitorix graph for icecast v 2.5.0 #481

@martintxoz

Description

@martintxoz

Hello

A new version of icecast has released, see: https://icecast.org/news/icecast-release-2_5_0/

I put the new version of icecast in our little server for a little radiostation. This server is in Debian stable, but for testing purposes, I install the new version of icecast from the upstream repository, see: https://icecast.org/download/

Icecast is working fine, and I want to stay in this new version. But monitorix stats are not working. The status page of icecast has changed it's layout. You can see the new layout here, in our radiostation icecast page: https://garraxi.noip.me:8888/

I look at the source code of the icecast.pm file and I see a line with the regexp for get the data, but I don't know anything about perl, and I'm not a programmer, so can`t help here.

For the moment i made a custom graph with the ambient sensor module, and it is working fine. The script for get the data is:

/usr/bin/curl -s http://localhost:8885/status.xsl | /usr/bin/grep --after-context 1 "Listeners (current):" | /usr/bin/grep "streamstats" | /usr/bin/awk -F '>' '{print $2}' | /usr/bin/awk -F '<' '{print $1}'

Noting fancy, but it works :-)

That's all. Can you update de icecast module to the new version? If yes, I can test it. Many thanks for this project, I'm using it in some little servers and works soooo well!! Greetings. Martintxo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions