Two dashboards were translating the values from
ceph_health_status incorrectly, resulting in
the wrong health state being shown.
Closes: https://github.com/ceph/cephmetrics/issues/202
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
{
"from": "1",
"text": "WARN",
- "to": "4"
+ "to": "1"
},
{
- "from": "5",
+ "from": "2",
"text": "ERROR",
- "to": "99"
- },
- {
- "from": "-10",
- "text": "NODATA",
- "to": "0"
+ "to": "2"
}
],
"sparkline": {
"textEditor": true
}
],
- "thresholds": "1,5",
+ "thresholds": "1,2",
"timeFrom": "1m",
"timeShift": null,
"title": "Health",
{
"op": "=",
"text": "WARN",
- "value": "4"
+ "value": "1"
},
{
"op": "=",
"text": "ERROR",
- "value": "8"
+ "value": "2"
}
],
"valueName": "current"
{
"from": "0",
"text": "HEALTH OK",
- "to": "1"
+ "to": "0"
},
{
"from": "1",
"text": "HEALTH WARNING",
- "to": "4"
+ "to": "1"
},
{
- "from": "5",
+ "from": "2",
"text": "HEALTH ERROR",
- "to": "99"
- },
- {
- "from": "-10",
- "text": "NODATA",
- "to": "0"
+ "to": "2"
}
],
"sparkline": {
"textEditor": true
}
],
- "thresholds": "1,5",
+ "thresholds": "1,2",
"timeFrom": "1m",
"timeShift": null,
"title": "",
"format": "short",
"label": "",
"logBase": 1,
- "max": "2",
+ "max": "3",
"min": "-0.5",
"show": false
},