Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
135
noc
Commits
a6561f25
Commit
a6561f25
authored
Apr 09, 2020
by
MaksimSmile13
Browse files
Merge branch 'fix/grafana_sensor_status' into 'master'
Fix DDash sensorstatus See merge request
noc/noc!3390
parents
e078b7fb
c4ea1931
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/ddash/graph_environment_sensorstatus.j2
View file @
a6561f25
...
...
@@ -23,9 +23,19 @@
"rowHeight": 30,
"valueMaps": [
{
"text": "N/A",
"value": "null",
"op": "="
},
{
"value": "1",
"op": "=",
"text": "N/A"
"text": "OK"
},
{
"value": "0",
"op": "=",
"text": "FALSE"
}
],
"mappingTypes": [
...
...
@@ -40,15 +50,27 @@
],
"rangeMaps": [
{
"from": "
null
",
"to": "
null
",
"text": "
N/A
"
"from": "
2
",
"to": "
10
",
"text": "
Unknown
"
}
],
"colorMaps": [
{
"text": "N/A",
"color": "#CCC"
"color": "#CCC",
"text": "N/A"
},
{
"text": "OK",
"color": "#508642"
},
{
"text": "FALSE",
"color": "#bf1b00"
},
{
"text": "Unknown",
"color": "#FADE2A"
}
],
"metricNameColor": "#000000",
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment