Ad Widget

Collapse

Map link label macros not working in 6.0.0 beta?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • codemaschine
    Junior Member
    • Jan 2022
    • 1

    #1

    Map link label macros not working in 6.0.0 beta?

    Hi all!

    I'm trying to add some throughput values to link labels in my map. I realised that there's a new notation since 5.4 for the macros, but either it's broken or I'm simply too stupid. Please help me figuring out which one is true ;-)

    The Mikrotik host is called gateway01 and the item key for the interface speed is net.if.speed[ifHighSpeed.18]. "Latest Data" shows the correct 10G. My link label is

    Code:
    Link Speed: {?last(/gateway01/net.if.speed[ifHighSpeed.18],0)}
    I tried a lot of different combinations without any success. Where's the error?
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    It's not a beta release, but with yesterday's Nightly Builds, I was able to use the following notation:

    Code:
    In: {?last(/Zabbix server/net.if.in["enp0s3"])}
    Out: {?last(/Zabbix server/net.if.out["enp0s3"])}

    Comment

    Working...