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

Misleading error message when script specified as user parameter is not found

XMLWordPrintable

      I created a user parameter on zabbix agent, that is calling a script. Got the following output from zabbix_get:

      ZBX_NOTSUPPORTED: Invalid result. Non-empty output is expected.
      

      After spending some time, trying to understand why my script produces empty output, finally found in agent log:

        4135:20140801:115742.739 zbx_popen(): executing script
      sh: 1: /home/phil/ldd.sh: not found
      

      I believe, in such cases agent should report this to server, e.g.
      ZBX_NOTSUPPORTED: Executing script: /home/phil/ldd.sh: not found

            Unassigned Unassigned
            filipp.sudanov Filipp Sudanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: