Hi.
I am collecting data using from an UPS using SNMP Adapter and I'm getting data for State with a value between 1 and 5 where every value represent a state.
How can I get vRealize Operations to convert the numbers to text?
Do i have to create a SuperMetric og is there any other tricks?
I dont think you can. The only place i know that you can use text is in a where statement but that is to show a metric when a property is already = to a text string. Even an if statement does not allow text strings as part of the conditional expression like you can in excel.
Thank you for the answer. Not what i wanted but
I managed to create this view but it would be so much nicer if i could have text instead of numbers.
4 = Resting 2= Discharing osv.
I think custom properties can help you our here. If you get the value as a metric to an object, you should be able to create custom properties per value.
Head over to environments and try it:
Oh i like that idea
set your membership rule for the group
metric = 1
and have the group add a custom property string value with the text you want Create as many groups as you need and if the value changes it moves group and updates the text in the property.
only thing to be aware of the group membership only updates every 20 mins so the property will be at most 20 mins out of date
That would work. Nice one.