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

After upgrade to 6.0, unexpanded positional variables $N pop up for web scenario items.

    XMLWordPrintable

Details

    • Incident report
    • Status: Confirmed
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      It happened after ZBXNEXT-7115 change.

      In the past we used positional variables in web scenarios and it's quite possible that they are still there.

      would be better if they would be converted by server automatically during db upgrade.

      If not, here is a workaround - open such web scenario and just update it. All item names will be converted on such update and the positional variables will be changed to fixed values.

      It's possible to find such outdated scenarios by SQL:

      select hostid, name from items where name like '% scenario "$1%' order by hostid;
      

      Maybe this small issue should be reflected in documentation.

      Attachments

        1. 1.PNG
          1.PNG
          18 kB
        2. 2.PNG
          2.PNG
          17 kB

        Activity

          People

            zabbix.dev Zabbix Development Team
            zalex_ua Oleksii Zagorskyi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: