Ad Widget

Collapse

Value map not used in element label

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #1

    Value map not used in element label

    Hi,

    I want to add some information to a map element as a label.

    I use {my_host:my_item.last(0)} as a label; however, when my_item is associated to a value map, only the numeric value is displayed, not its associated description.

    For instance, if I use
    {apc:battery_status.last(0)}
    and battery_status is mapped to:
    0 ⇒ Unknown
    1 ⇒ OnLine
    2 ⇒ OnBattery

    1 Or 2 is displayed instead of OnLine or OnBattery.

    Is it a bug or am I missing something ?

    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html
Working...