Hitachi

JP1 Version 13 JP1/Integrated Management 3 - Manager Command, Definition File and API Reference


[Figure]Container monitoring metric definition file (metrics_kubernetes.conf)

Organization of this page

Syntax

[
  {
    "name":"metric-name-of-trend-data",
    "default":default-selection-status,
    "promql":"PromQL-statement",
    "resource_en":{
      "category":"metric-category-in-English",
      "label":"metric-label-in-English",
      "description":"metric-description-in-English",
      "unit":"metric-unit-in-English"
    },
    "resource_ja":{
      "category":"metric-category-in-Japanese",
      "label":"metric-label-in-Japanese",
      "description":"metric-description-in-Japanese",
      "unit":"metric-unit-in-Japanese"
    },
    "module": "component-name"
  }, ...
]#
#

The number of elements that can be written inside the brackets ([]) is from 1 to 1,000. A KAJY24609-E error message is output when writing a number of elements that falls outside this range.

File

metrics_kubernetes.conf

metrics_kubernetes.conf.model (model file)

Storage directory

For Windows
When using a physical host

Manager-path\conf\imdd\plugin\jp1pccs_kubernetes\

When using a logical host

shared-folder\jp1imm\conf\imdd\plugin\jp1pccs_kubernetes\

For Linux
When using a physical host

/etc/opt/jp1imm/conf/imdd/plugin/jp1pccs_kubernetes/

When using a logical host

shared-directory/jp1imm/conf/imdd/plugin/jp1pccs_kubernetes/

Description

This file defines the metric information of the container monitoring displayed on the Trends tab, Dashboard tab, and Dashboard List dialog box of the Integrated Operation Viewer window.

Definitions are used for the return values of the __metricListGet method and __timeSeriesDataGet method for JP1/IM - Agent product plug-ins. If JP1/IM - Manager is in a hierarchical configuration and trend data stored in the database of a lower-level manager is referenced from an upper-level manager, you must add the metrics of the referenced trend data to the metrics definition file of the upper-level manager.

Character encoding

UTF-8 (without BOM)

Linefeed code

In Windows: CR+LF

In Linux: LF

Timing in which definitions are reflected

Definitions are reflected when the metric information is obtained on the Trends tab, Dashboard tab, and Dashboard List dialog box of the Integrated Operation Viewer window, or with the REST API.

Content description

For details, see Content description in Node exporter metric definition file (metrics_node_exporter.conf) (2. Definition Files) for JP1/IM - Agent. However, the module member is required and the component type is specified. The value specified here is used as the object root type.

Model file settings (initial status)

The settings (initial status) of each metric described in the model file of the container monitoring metric definition file are shown below.