Giter Club home page Giter Club logo

Comments (4)

zetneteork avatar zetneteork commented on September 9, 2024 1

This issue is related to the permission issue. Make sure the zabbix agent and script are with the same uuid. I've been facing this issue too.

/etc/zabbix/zabbix_agentd.conf.d/userdata.conf

UserParameter=icecast.global.clients,/usr/local/scripts/zabbix/icestats.sh clients
UserParameter=icecast.global.client_connections,/usr/local/scripts/zabbix/icestats.sh client_connections
UserParameter=icecast.global.sources,/usr/local/scripts/zabbix/icestats.sh sources
UserParameter=icecast.source.listeners[*],/usr/local/scripts/zabbix/icestats.sh mount-listeners $1
UserParameter=icecast.source.slow_listeners[*],/usr/local/scripts/zabbix/icestats.sh mount-slow_listeners $1
/usr/local/scripts/zabbix/icestats.sh
ls -l /usr/local/scripts/zabbix/icestats.sh
-rwxr-xr-x 1 zabbix zabbix 1337 úno 23  2015 /usr/local/scripts/zabbix/icestats.sh

My zabbix-agent runs under zabbix user

from zabbix-icecast.

alainseys avatar alainseys commented on September 9, 2024

from zabbix-icecast.

catbgmt avatar catbgmt commented on September 9, 2024

hellow, i have a problem with script.
when i start it i got error: warning: failed to load external entity "./xslt/.xsl"
cannot parse ./xslt/.xsl
ls -l icestats.sh
-rwxr-xr-x 1 zabbix zabbix 1337 Jan 31 14:29 icestats.sh

from zabbix-icecast.

hairmare avatar hairmare commented on September 9, 2024

@catbgmt you also need the xslt subdir and it's contents + you need to call the script with an argument (like ./icestats.sh clients or ./icestats.sh sources).

I'm going to go ahead and close this issue since the original issue seems to have been solved by setting permissions for the zabbix user.

I'd also like to not that i haven't been using this setup for a while now as it has been replaced with a setup based on this Icecast Exporter for Prometheus.

from zabbix-icecast.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.