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
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