Ad Widget

Collapse

Item name not showing after update

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MarcosP
    Junior Member
    • Apr 2024
    • 3

    #1

    Item name not showing after update

    Hello,

    I'm somewhat new to using Zabbix, so this might be a dumb question, but here it is:

    I recently set up a new Zabbix server running version 6.0. I then exported all my hosts and templates from my previous Zabbix instance, which was running version 4.4. The issue I'm encountering is that my item names contain "$1", and after some research, I discovered that this feature was deprecated in this version.

    However, I'm not entirely sure how to resolve this problem. I would manually change each item if possible, but I believe the items discovered by templates are read-only. Therefore, I think I can only modify item prototypes through the discovery rule, but I'm unsure what I should write to make everything work.

    What should I enter in the "Name" field to replace "$1"?

    Click image for larger version

Name:	image.png
Views:	268
Size:	40.4 KB
ID:	483049

    A print from my latest data from one of my hosts:
    Click image for larger version

Name:	image.png
Views:	234
Size:	79.3 KB
ID:	483050
  • Answer selected by MarcosP at 26-04-2024, 20:17.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    Originally posted by Hamardaban
    Positional macros no longer supported

    The support for positional macros in item name ($1, $2...$9), deprecated since Zabbix 4.0, has been fully removed.

    He knows that.. question is, with what to replace it with ...
    I think {#SNMPVALUE} in this case.

    Comment


    • MarcosP
      MarcosP commented
      Editing a comment
      Thats it, it works. Thanks for help
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Positional macros no longer supported

    The support for positional macros in item name ($1, $2...$9), deprecated since Zabbix 4.0, has been fully removed.


    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      Originally posted by Hamardaban
      Positional macros no longer supported

      The support for positional macros in item name ($1, $2...$9), deprecated since Zabbix 4.0, has been fully removed.

      He knows that.. question is, with what to replace it with ...
      I think {#SNMPVALUE} in this case.

      Comment


      • MarcosP
        MarcosP commented
        Editing a comment
        Thats it, it works. Thanks for help
    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #4
      Oops.... I missed it....

      Yes - {#SNMPVALUE} is a good choice

      Comment

      Working...