Ad Widget

Collapse

Maps label shows *UNKNOWN*

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • proutska
    Junior Member
    • Nov 2020
    • 5

    #1

    Maps label shows *UNKNOWN*

    Hi,

    I'm working with Zabbix for a while now and I find it very usefull! We are monitoring a lot of small sites. I want to use Maps to visiualise data. Using Macros in the label names saves me a lot of configuration time.

    I have a host called BW2130 and if I use {Prometheus:ACAP[{BW2130}].last(0)} it shows me the right data in the label. If I use {Prometheus:ACAP[{HOST.NAME}].last(0)} I get *UNKNOWN* in the label.

    Can someone please explain this? I'm using version: Zabbix 4.4.10

    Thanks in advance.

    Sander
  • NilsA
    Senior Member
    • Sep 2020
    • 102

    #2
    I'm not sure if this works but try using {HOST.HOST}. That's what I use on my maps.

    Comment

    • proutska
      Junior Member
      • Nov 2020
      • 5

      #3
      Hi, thanks. I tried it but it doesn't help. If I just put {HOST.NAME} or {HOST.HOST} in the label I get the value BW2130. This is the right value but it seems that this is not working inside a macro.

      Comment

      Working...