Ad Widget

Collapse

Data Overview, and item "macros"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jangliss
    Junior Member
    • Nov 2005
    • 9

    #1

    Data Overview, and item "macros"

    I just noticed an oddity. The templates ship with items such as:

    Free disk space on $1

    This is a simple substitution, and replaces $1 with the first argument in the key, for example:

    diskfree[c:]

    Would make the above appear as :

    Free disk space on c:

    However, on the overview page that gives you a global data view, the macros are not substitued. For example, I have a host with 2 of the above (C: and D, but only one shows, and it still displays as:

    Free disk space on $1

    This results in only one of the items showing. I took a look at the code that generates the items list, and noticed it calls distinct which would remove all the duplicated names so it'd only be left with one of the items.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this. To be fixed.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...