im currently displaying the last value in my actions with a macro like this:
{{HOSTNAME}:{TRIGGER.KEY}.last(0)}
this works fine for items where the raw value is human-readable (eg: cpu utilization), but its not so nice for items like service_state, ping, and status, where the raw value doesnt make any sense to the average person. the same goes for many snmp values.
i think it would be really nice if we had a way to display a 'friendly' value for these types of items. for example, instead of returning a raw value of '2' for the 'ping' item, we might return the string 'unreachable' instead.
i imagine this could be implemented fairly easily by adding an additional database table for the translations.
{{HOSTNAME}:{TRIGGER.KEY}.last(0)}
this works fine for items where the raw value is human-readable (eg: cpu utilization), but its not so nice for items like service_state, ping, and status, where the raw value doesnt make any sense to the average person. the same goes for many snmp values.
i think it would be really nice if we had a way to display a 'friendly' value for these types of items. for example, instead of returning a raw value of '2' for the 'ping' item, we might return the string 'unreachable' instead.
i imagine this could be implemented fairly easily by adding an additional database table for the translations.
Comment