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
e30e8be3
Commit
e30e8be3
authored
Apr 09, 2020
by
MaksimSmile13
Browse files
Merge branch 'cherry-pick-
a6561f25
' into 'release-19.4'
release-19.4:Backport!3390 See merge request
noc/noc!3424
parents
ee67eb18
a9375e3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/ddash/graph_environment_sensorstatus.j2
View file @
e30e8be3
...
...
@@ -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