Hitachi

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


[Figure]Blackbox exporter metric definition file (metrics_blackbox_exporter.conf)

Organization of this page

Format

[
  {
    "name":"trend-data-metric-names",
    "default":default-selection-state
    "promql":"PromQL-statement",
    "resource_en":{
      "category":"metric-category-(English)",
      "label":"metric-display-name-(English)",
      "description":"metric-description-(English)",
      "unit":"metric-unit-(English)"
    },
    "resource_ja":{
      "category":"metric-category-(Japanese)",
      "label":"metric-display-name-(Japanese)",
      "description":"metric-description-(Japanese)",
      "unit":"metric-unit-(Japanese)"
    },
    "module": "module name",
    "drop_legend_labels": ["label name", ...]
  }, ...
]#
#

The number of elements that can be described in [] is 1 to 1,000. If an out-of-range number of elements is described, a KAJY24609-E error message is output.

File

metrics_blackbox_exporter.conf

metrics_blackbox_exporter.conf.model (model file)

Storage directory

■Integrated manager host

In Windows:
  • For a physical host

    Manager-path\conf\imdd\plugin\jp1pccs\

  • For a logical host

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

In Linux:
  • For a physical host

    /etc/opt/jp1imm/conf/imdd/plugin/jp1pccs/

  • For a logical host

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

Description

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

The defined contents are used for the return values of __metricListGet method and __timeSeriesDataGet method of the JP1/IM - Agent product plug-in.

If JP1/IM - Manager is in a hierarchical configuration and you want to refer to trend data stored in Trend data Management Database of lower manager from Integrated manager, you must add trend data metrics that you want to refer to metric definition file of Integrated manager.

Character code

UTF-8 (without BOM)

Line feed code

In Windows: CR+LF

In Linux: LF

When the definitions are applied

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.

Information that is specified

The following value is setup to module membership. For values that setup to other members, see the Information that is specified section in Node exporter metric definition file (metrics_node_exporter.conf).

Table 2‒93: Value to setup for module members of metric definition File

Member name

Optional

Type

Value to set

module

Yes

string

Set the value of module of the IM management node that returns this metric to a string that matches the forward.

This member is optional for Blackbox exporter metrics definition files only.

Specify 1~255 characters except control characters (0x00~0x1F, 0x7F~0x9F).

If it contains characters that cannot be specified, a KAJY24604-E or KAJY24605-E error message is printed.

If omitted, this metric is returned for all remote agent SIDs of the Blackbox exporter.

The IM management node's module value is the value specified for module in the Prometheus configuration file (jpc_prometheus_server.yml) scrape job. This value is also displayed in the Module property of the Blackbox exporter's Remote Agent SID.

Example 1: http

Example 2: ICMP

Model file settings (initial status)

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