neuralfraud / grafana-prtg

A PRTG Datasource plugin for Grafana
181 stars 75 forks source link

Singlestat coloring and value mappings not working #74

Closed ohmar closed 5 years ago

ohmar commented 6 years ago

Hello,

I'm trying to create a singlestat panel that updates the background color according to the value returned by status_raw. (3 = green, 4 = yellow, 5 = red). Changing this under "options" doesn't seem to do anything.

image

Value Mappings also don't work.

image

Anyone else seeing the same issue?

JohnH77 commented 6 years ago

i have the same issue, the "value to text" dont work. "range to text" works if i set From 0 From 1 or more dont work. And i have to refresh the Grafana Tab to show the text.

Grafana v4.6.2 (commit: 8db5f087e)

grafik grafik

olsonnn commented 6 years ago

Same issue here.

tomwel1 commented 6 years ago

Same issue here. The singlestat item shows the correct status but doesnt change the tile from green to red if in error/down state. PRTG 18.1.36.3728 Grafana: 4.6.3

Steve8000 commented 6 years ago

Reporting the same issues with Value mappings & Colours not changing. PRTG: 18.1.36.3728+ Grafana: 4.6.3

joaogvmoura commented 6 years ago

Same issue here...

Grafana: 5.0.0 PRTG: 18.1.38.11934+

Catt00 commented 6 years ago

Have the same issue as well Grafana v4.6.3 PRTG; 18.1.36.3728+

mhutchison89 commented 6 years ago

+1 : )

PRTG: 17.3.33.2686+ Grafana: v5.1 and v5.0

dyanca commented 6 years ago

I had this issue when we were sending the numeric value inside quotes, forcing the number to be a string. Once we changed that to come in just as a number, our value mapping worked as expected.

CWempe commented 6 years ago

For the record: I have the same issue, but I am using the normal Grafana docker image. (v5.1) The data comes from an influxdb.

So it may be a problem with grafana rather than grafana-prtg.

Yakelixir commented 6 years ago

Currently using grafana-prtg and I'm seeing the same issue with single stat panels.

panasaan commented 5 years ago

same issue, what's the status of this?

olsonnn commented 5 years ago

As we have zero response from the dev. you have to fix it yourself probably

CWempe commented 5 years ago

According to https://github.com/NatelEnergy/grafana-discrete-panel/issues/58#issuecomment-391294605 this has been fixed in Grafana itself.

bchris999 commented 5 years ago

Same issue here. Grafana 5.4.3.

chaispaquichui commented 5 years ago

Same issue

miroslavpetrov commented 5 years ago

grafana

Have you selected "name" on stat?

neuralfraud commented 5 years ago

Not a datasource plugin issue.