Display values from custom OID (or any other value) in Dashboards


I was hoping to display a simple value (as a number) on a dashboard, specifically I have some temperature values which I’d like to display as a simple number on a widget, but I’m not seeing how/where this can be done (if at all).

I have the graphs working that display and graph the temperature of the sensors (I get these from a custom OID) but rather than displaying the actual graph on the dashboard, I’d like to simple display the value itself.

An additional wish would be to have the value background colour change depending on the warning/alert levels (if OK, show value on green background, if in warning, on yellow, if in alert in red, etc…).

Many thanks in advance.