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

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: None
    • None

      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.

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

            Assignee:
            Zabbix Development Team
            Reporter:
            Oleksii Zagorskyi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: