Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26950

Default AlertScriptPath and ExternalScripts points to wrong directory

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.18
    • Proxy (P), Server (S)
    • None
    • RHEL8, Zabbix 7.0.18

      Steps to reproduce:

      Install/upgrade to zabbix server 7.0.18

       

      Result:
      The help command of zabbix server 7.0.18 displays that AlertScriptPath and ExternalScript now point to /usr/share/zabbix

      zabbix_server -h
      ...
      Some configuration parameter default locations:
        AlertScriptsPath                "/usr/share/zabbix/alertscripts"
        ExternalScripts                 "/usr/share/zabbix/externalscripts"
        SSLCertLocation                 "/usr/share/zabbix/ssl/certs"
        SSLKeyLocation                  "/usr/share/zabbix/ssl/keys"
        LoadModulePath                  "/usr/lib64/zabbix/modules"
      

       

      Previouz version 7.0.17 displays

       

      Some configuration parameter default locations:
        AlertScriptsPath                "/usr/lib/zabbix/alertscripts"
        ExternalScripts                 "/usr/lib/zabbix/externalscripts"
        SSLCertLocation                 "/usr/share/zabbix/ssl/certs"
        SSLKeyLocation                  "/usr/share/zabbix/ssl/keys"
        LoadModulePath                  "/usr/lib64/zabbix/modules"

       

       

      This change affects Zabbix Server and Proxy installations that relies on default paths and the scripts stops working.

      The release notes for 7.0.18 does not describe any change in default paths and even the RPM package does not contain the directory /usr/share/zabbix, this dir is defined in zabbix-web package instead.

       

      This problem is similar to https://support.zabbix.com/browse/ZBX-17983

       

      Expected:
      Default paths turned back to versions like in 7.0.17

       

      Workaround:

      Define paths in config file and do not rely on defaults.

            Unassigned Unassigned
            kbelunek Karel Bělunek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: