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

HOST.CONN doesn't work in global scripts

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0.2rc2, 2.1.0
    • 2.0.0rc3
    • Server (S)
    • trunk rev 27311

      global scripts don't seem to work with HOST.CONN macro anymore. tried with agent and snmp interfaces and ip specified for them.

      debuglevel 4 gives :

      In substitute_simple_macros() data:'/bin/ping -c 3

      {HOST.CONN} 2>&1'
      cannot resolve macro '{HOST.CONN}

      '
      End substitute_simple_macros() data:'/bin/ping -c 3 UNKNOWN 2>&1'
      In zbx_execute_script()
      In zbx_popen() command:'/bin/ping -c 3 UNKNOWN 2>&1'
      End of zbx_popen():7

            Unassigned Unassigned
            richlv richlv
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: