Ad Widget

Collapse

issue with {MACROS} on link labels?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nixgod
    Junior Member
    • Jun 2017
    • 1

    #1

    issue with {MACROS} on link labels?

    So I'm not sure if this is intended or a bug.

    If I add the following expression to a host label in a map it works fine as shown

    In: {{HOST.HOST}:net.if.in[eth0].last(0)}
    Out: {{HOST.HOST}:net.if.out[eth0].last(0)}




    But, if I add the same thing to a link label I get this



    I've been pulling my hair out with it, And I don't know if this is just not intended to work in a link label (would be weird if it wasn't) Or a bug.

    Anybody ran into this problem and a solution?

    P.S Zabbix 3.2
  • billyjoe
    Junior Member
    • Sep 2017
    • 1

    #2
    Originally posted by nixgod
    So I'm not sure if this is intended or a bug.

    In: {{HOST.HOST}:net.if.in[eth0].last(0)}
    Out: {{HOST.HOST}:net.if.out[eth0].last(0)}

    I've been pulling my hair out with it, And I don't know if this is just not intended to work in a link label (would be weird if it wasn't) Or a bug.

    Anybody ran into this problem and a solution?

    P.S Zabbix 3.2
    Hello,

    I'm bald so, it remained only to bang my head... (for the last two weeks).
    However, on 3.0.2 as Labels, it does work only simple macros, like {HOST.NAME}, {HOST.CONN}. If I add something as you have, the best is *UNKNOWN* (for both, Host and Links). Even with current values, so no ".last(0)", it does display the same.
    I have checked on forums and the problem for that answer was that there are no last values recorded. BUT, all the graphs I have from the templates that came with Zabbix, are working just fine.
    Please someone with time, patience and willingness, a hand of help! Thank you!

    Comment

    Working...