hi,
I'm trying to setup some user parameters within the agent to monitor some parameters.
But zabbix always seems to run user parameters like
within the shell /bin/sh.
Recent ubuntu systems configure dash (a minimal sh compatible shell) as default shell which is fine because all init scripts are sh compatible but I would really like to use advanced bash or zsh scripts for all my users parameters.
How can I tell zabbix to use /bin/bash or /bin/zsh rather than /bin/sh?
Thanks.
I'm trying to setup some user parameters within the agent to monitor some parameters.
But zabbix always seems to run user parameters like
Code:
UserParameter=dpkg.updates,/usr/lib/update-notifier/apt-check 2>&1 | IFS=';' read -A; print ${reply[2]}
Recent ubuntu systems configure dash (a minimal sh compatible shell) as default shell which is fine because all init scripts are sh compatible but I would really like to use advanced bash or zsh scripts for all my users parameters.
How can I tell zabbix to use /bin/bash or /bin/zsh rather than /bin/sh?
Thanks.


Comment