Hi!
I have Zabbix 5.0.5.
I'v changed parameters AlertScriptsPath and ExternalScripts in configuration file zabbix_server.conf to /etc/zabbix/alertscripts and /etc/zabbix/externalscripts respectively, but Zabbix still trying to open external scripts from the directory /usr/lib/zabbix/externalscripts. Alert scripts open from new path /etc/zabbix/alertscripts.
I have Zabbix 5.0.5.
I'v changed parameters AlertScriptsPath and ExternalScripts in configuration file zabbix_server.conf to /etc/zabbix/alertscripts and /etc/zabbix/externalscripts respectively, but Zabbix still trying to open external scripts from the directory /usr/lib/zabbix/externalscripts. Alert scripts open from new path /etc/zabbix/alertscripts.
Code:
### Option: AlertScriptsPath
# Full path to location of custom alert scripts.
# Default depends on compilation options.
# To see the default path run command "zabbix_server --help".
#
# Mandatory: no
# Default:
# AlertScriptsPath=${datadir}/zabbix/alertscripts
#AlertScriptsPath=/usr/lib/zabbix/alertscripts
AlertScriptsPath=/etc/zabbix/alertscripts
### Option: ExternalScripts
# Full path to location of external scripts.
# Default depends on compilation options.
# To see the default path run command "zabbix_server --help".
#
# Mandatory: no
# Default:
# ExternalScripts=${datadir}/zabbix/externalscripts
#ExternalScripts=/usr/lib/zabbix/externalscripts
ExternalScripts=/etc/zabbix/externalscripts
Comment