Hi
@bigAboo
When you list the active parameters from the agent's configuration file, we see that the
Include
parameter is active and points to the
/etc/zabbix_agentd.conf.d
directory. However, the error message indicates that it does not exist.
The
Include
parameter allows you to add additional configuration files and, if I'm not mistaken, is active by default from the repository package.
The script uses the
/opt/etc
directory instead. So, I'm not sure why yours points directly to
/etc
. Is Entware installed?
To fix this, you can simply create this directory and run the script again.
I've just updated the script on Github to make sure the directory
/opt
/etc/zabbix_agentd.conf.d
directory exists.
I added the following line (
#58).
Bash:
[[ ! -d $CONF_DIR/$CONF_FILE.d ]] && mkdir -v -p $CONF_DIR/$CONF_FILE.d
If you didn't configure anything else, you can try to remove previous configuration files, copy the script, and run it again.