Singlestat and threshold colors with icinga state

(Denny Fuchs) #1


I use the singlestat and the latest value from the Icinga2 metadata pushed to InfluxDB. I can’t get it, how to change the color for 0 = green, 1, yellow and 2 red.
I added also to the value Mappings 0 = OK, 1 = WARNING and 2 CRITICAL.

Any suggestions ?

cu denny

(Carsten Köbke) #2

Hi Denny,

just set thresholds to 1,2:slight_smile:

Best regards

(Denny Fuchs) #3

hi Carsten,

sorry for the late …

awesome … it works :slight_smile: Thanks !