Ad Widget

Collapse

Have issue about Zabbix External Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leonlaf
    Junior Member
    • May 2013
    • 15

    #1

    Have issue about Zabbix External Script

    Hi everyone,
    I am just starting to use external checks, and I get this error: item [xxxxxxx:zext_ssl_check.sh[{$SSL_PORT}]] became not supported: /var/lib/zabbixsrv/externalscripts/zext_ssl_check.sh: [2] No such file or directory
    I am sure my script is in that directory with 777 permission. I also try to modify zabbix_server.conf file to:
    ### Option: ExternalScripts
    # Full path to location of external scripts.
    # Default depends on compilation options.
    #
    # Mandatory: no
    # Default:
    ExternalScripts=/etc/zabbix/externalscripts
    and reload zabbix_server.conf file by zabbix_server -c /etc/zabbix/zabbix_server.conf -R config_cache_reload
    But the log file still report the same error:item [xxxxxxx:zext_ssl_check.sh[{$SSL_PORT}]] became not supported: /var/lib/zabbixsrv/externalscripts/zext_ssl_check.sh: [2] No such file or directory.
    It seems like I cannot modify the path and zabbix cannot read any script in the default path. Anyone had same issue before? Many thanks
  • bagni
    Senior Member
    Zabbix Certified Specialist
    • Mar 2012
    • 164

    #2
    Hi,
    i don't understand where the script is located.
    If is in /var/lib/zabbixsrv/externalscripts/ this mismatch with your server conf.

    Anyway the default value is ExternalScripts=${datadir}/zabbix/externalscripts, so do you had compiled zabbix server?

    bye, Lorenzo

    Comment

    • leonlaf
      Junior Member
      • May 2013
      • 15

      #3
      Originally posted by bagni
      Hi,
      i don't understand where the script is located.
      If is in /var/lib/zabbixsrv/externalscripts/ this mismatch with your server conf.

      Anyway the default value is ExternalScripts=${datadir}/zabbix/externalscripts, so do you had compiled zabbix server?

      bye, Lorenzo
      Thank you for you help, I already solved this issue, I forget we are using Proxy configuration, I need to put the external script into the proxy server.

      Leon

      Comment

      Working...