Hitachi

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


[Figure]Windows exporter (Hyper-V monitoring) configuration file (jpc_windows_exporter_hyperv.yml)

Organization of this page

Format

Write in YAML format.

collectors:
  enabled: cs,hyperv
collector:
  net:
    nic-whitelist: ".+"
    nic-blacklist: ""
scrape:
  timeout-margin: 0.5

File

jpc_windows_exporter_hyperv.yml

jpc_windows_exporter_hyperv.yml.model (model file)

Storage destination directory

- Integrated agent host
  • For a physical host

    Agent-path\conf\

Description

This file defines the operation of Windows exporter (Hyper-V monitoring).

Character code

UTF-8 (without BOM)

Line feed code

For Windows: CR+LF

For Linux: LF

Time of import of definitions

It is reflected when you restart Windows exporter (Hyper-V monitoring) servicing.

Description

Item name

Description

Changeability

What You Set Up with JP1/IM - Agent

JP1/IM - Agent Defaults

collectors

--

--

--

--

enabled

pecify a comma-separated list of collectors to use.

Y

--

collectors:

enabled: cs,hyperv

collector

--

--

--

--

logical_disk

--

--

--

--

volume-whitelist

Use regular expressions to set the volumes to be collected.

Volumes that apply to both volume-whitelist and volume-blacklist are not collected (volume-blacklist takes precedence).

--

Specifies the volume to the whitelist as a regular expression.

""

volume-blacklist

Use regular expressions to set volumes that are not collected.

Volumes that apply to both volume-whitelist and volume-blacklist are not collected (volume-blacklist takes precedence).

--

Specifies the volume to the blacklist as a regular expression.

""

net

--

--

--

--

nic-whitelist

Set NIC to be collected using regular expressions.

Both nic-whitelist and nic-blacklist do not collect NIC (nic-blacklist takes precedence).

The name of NIC specified in this field must be the one obtained by the following command.

wmic path Win32_PerfRawData_Tcpip_NetworkInterface get name

Note that because this field is treated as a regular expression, you must escape it with a backslash if you want to specify a special character for the regular expression. Because YAML treats the backslash as a special character, you must write the backslash twice.

(Example of description)

When you want to specify "Intel[R] Dual Band Wireless-AC 8265" with exact matching

nic-whitelist: "Intel\\[R\\] Dual Band Wireless-AC 8265"

Y

Specifies NIC to the whitelist in regular expressions.

collector:

net:

nic-whitelist: ".+"

nic-blacklist

Use regular expressions to set NIC that are not collected.

Both nic-whitelist and nic-blacklist do not collect NIC (nic-blacklist takes precedence).

This field is specified in the same way as nic-whitelist.

Y

Specifies NIC to the blacklist in regular expressions.

collector:

net:

nic-blacklist: ""

scrape

--

--

--

--

timeout-margin

Specifies the number of seconds to subtract from Prometheus's scrape_timeout value (specifies a value that is less than the scrape_timeout value of Prometheus).

Prometheus's scrape_timeout value minus the value specified for this field will time out in seconds.

For the scrape_timeout of Prometheus, see Description scrape_timeout of Prometheus configuration file (jpc_prometheus_server.yml).

Y

Normally, no change is required.

Use to adjust to tolerate overhead or high load.

scrape:

timeout-margin: 0.5