api.sendMetric
api.sendMetric(ci, element, elementtype, metrictype, value)
Description
Sends a normalized metric message (NormalizedMetric message type).
Parameters
| Parameter | Type | Explanation |
|---|---|---|
| ci | String | Fills in the ci/name field |
| element | String | Fills in the ci/element field |
| citype | String | Fills in the ci/type field |
| metrictype | String | Fills in the metric/type field |
| value | double | Fills in the metric/value field |
Example
api.sendMetric("ci", "mount point", "disk", "space", 16)