HOST.CONN doesn't work in global scripts

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Blocker
    • 2.0.2rc2, 2.1.0
    • Affects Version/s: 2.0.0rc3
    • Component/s: Server (S)
    • Environment:
      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

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

              Created:
              Updated:
              Resolved: