Ad Widget

Collapse

No such file in external scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • faelchrsitofano
    Junior Member
    • Mar 2021
    • 4

    #1

    No such file in external scripts

    Hi,

    I have some scripts stored in /usr/lib/zabbix/externalscripts.

    I created a Discovery Rule, type "External Check" that call the script get.azure.metrics.sh.

    In the host that I linked the Discovery Rule I get the follow error: /usr/share/zabbix/externalscripts/get.azure.metrics.sh: [2] No such file or directory.

    I don't understand the reaso of this path is using the "share" folder, being me created this file in "lib" folder.

    I checked in zabbix_server.conf and the ExternalScript variable is enable:
    ExternalScripts=/usr/lib/zabbix/externalscripts

    Please, help me!!


  • amirajoodani
    Junior Member
    • Dec 2023
    • 1

    #2
    hi . generally external checks just work on zabbix server or proxy that you configured . if you want to run script on remote host should use userparameters or system.run[] key in your item . (your item should be zabbix agent)

    Comment

    Working...