Skip to content

Error starting Zabbix Agent #5

@gfreccia

Description

@gfreccia

Hi!

I've set this on my zabbix_agentd.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[/parpeseggia],/usr/local/scripts/zabbix/icestats.sh mount-listeners $1
UserParameter=icecast.source.peak_listeners[/parpeseggia],/usr/local/scripts/zabbix/icestats.sh peak-listeners $1
UserParameter=icecast.source.slow_listeners[/parpeseggia],/usr/local/scripts/zabbix/icestats.sh mount-slow_listeners $1

I've this error starting the agent:

Jun 6 10:11:00 debian-icecast zabbix_agentd[3447]: zabbix_agentd [3447]: ERROR: cannot add user parameter "icecast.source.listeners[/parpeseggia],/usr/local/scripts/zabbix/icestats.sh mount-listeners $1": syntax error
Jun 6 10:11:00 debian-icecast systemd[1]: zabbix-agent.service: Control process exited, code=exited, status=1/FAILURE
Jun 6 10:11:00 debian-icecast systemd[1]: zabbix-agent.service: Failed with result 'exit-code'.
Jun 6 10:11:00 debian-icecast systemd[1]: Failed to start Zabbix Agent._

Thank you!

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