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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: