Comments (4)
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.
from zabbix-icecast.
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.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-icecast.