Netdata icecast-kh error

Hi Guys,

I want to monitor my icecast-kh server with netdata, but not working.
Can I use icecast-kh with netdata?

log:
JSON decode error: ‘utf8’ codec can’t decode byte 0xf3 in position 1: invalid continuation byte

Thanks.

1 Like

Hey @peppi001 :wave:

JSON decode error: ‘utf8’ codec can’t decode byte 0xf3 in position 1: invalid continuation byte

It means that the returned data is not valid JSON data.

What endpoint do you use? I see we collect data using /status-json.xsl.


i briefly checked icecast-kh and there is no status-json.xsl file.

See where are the files /json.xsl and /stats-json.xsl? · Issue #294 · karlheyes/icecast-kh · GitHub

As xsl files you can drop them in webroot and go ahead.

I guess you can create/find and copy them - it looks like that is how it works, you create a file with that returns stats data in JSON format and then just query it via HTTP.

I’m not an icecast user, i can’t help much.

I googled and found https://github.com/adel-s/radio/blob/master/icecast-kh/web/status-json.xsl

1 Like

Thank you. I’ll try it.