Ad Widget

Collapse

Zabbix macros doesn't work working in maps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amlife
    Junior Member
    • Sep 2013
    • 15

    #1

    Zabbix macros doesn't work working in maps

    Hello everyone

    I have been trying for hours to display bandwidth network speed, something I used to do using older versions, I'm currently using 2.2 and I wonder why this doesn't work.

    PS: I have working graphs for eth0 and data gets updated correctly.

    Incoming traffic: {{HOSTNAME}:net.if.in[eth0].last(0)}
    Outgoing traffic: {{HOSTNAME}:net.if.out[eth0].last(0)}
    Please find the attached image.
    Attached Files
    Last edited by amlife; 03-02-2014, 23:58.
  • amlife
    Junior Member
    • Sep 2013
    • 15

    #2
    anyone can help?

    Comment

    • aib
      Senior Member
      • Jan 2014
      • 1615

      #3
      I try to do what do you want and I also cannot get it to show the correct numbers instead of NAME_OF_MACROS.

      sorry
      Sincerely yours,
      Aleksey

      Comment

      • amlife
        Junior Member
        • Sep 2013
        • 15

        #4
        I hope its not a bug with version 2.2

        Comment

        • aib
          Senior Member
          • Jan 2014
          • 1615

          #5
          It works only when I give the name of real host from any side of link.
          like
          Code:
          {{Server1:ifInOctets[eth0].avg(300)}
          Looks like when I use macro name, Zabbix cannot guess which side of link has to be used as HOST.NAME.

          Yes, I try to use HOST.NAME1 and HOST.IP1 - no luck.
          Sincerely yours,
          Aleksey

          Comment

          • amlife
            Junior Member
            • Sep 2013
            • 15

            #6
            Thanks, I got mine working after using hostname as you mentioned

            Comment

            Working...