MetricsHub
MetricsHub Community Connectors 1.0.06
-
Home
- Connector Design Guide Computes 22
Translate
The Translate
compute allows to translate values from specified column following a specified translation table.
connector:
# ...
pre: # <object>
<sourceKey>: # <source-object>
monitors:
<monitorType>: # <object>
<job>: # <object>
sources: # <object>
<sourceKey>: # <source-object>
computes: # <compute-object-array>
- type: translate
column: # <number>
translationTable: # <string>
Translation Tables
This page describes how to define translation tables in a connector file.
Format
connector:
# ...
monitors:
# ...
translations: # <object>
<table-key>: # <object>
<key>: # <string>
Example
Note here that you must define target states that match the states defined in the Metrics Section[1], that’s why WARN
and ALARM
are becoming degraded
and failed
.
translations:
physicalDiskStatuses:
3: ok
4: degraded
5: failed
6: failed
7: ok
8: ok
9: ok
10: ok
default: UNKNOWN
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.