OracleDB exporter discovery configuration file (jpc_file_sd_config_oracledb.yml)
- Organization of this page
Format
Write in YAML format.
- targets:
- Oracle Database hostname:Monitored name:OracleDB exporter port number
...
labels:
jp1_pc_exporter: JPC OracleDB exporter
jp1_pc_category: database
jp1_pc_trendname: oracledb_exporter
jp1_pc_remote_monitor_instance: install-host-name:OracleDB metric collector(OracleDB exporter)
File
jpc_file_sd_config_oracledb.yml
jpc_file_sd_config_oracledb.yml.model (model file)
Storage directory
- - Integrated agent host
-
In Windows:
-
For a physical host
Agent-path\conf\
-
For a logical host
shared-folder\jp1ima\conf\
In Linux:
-
For a physical host
/opt/jp1ima/conf/
-
For a logical host
shared-directory/jp1ima/conf/
-
Description
This is a file that configures the OracleDB exporter that Prometheus server scrapes.
Character code
UTF-8 (without BOM)
Line feed code
In Windows: CR+LF
In Linux: LF
When the definitions are applied
When the Prometheus server reload API is executed or restarted, the Prometheus server is subject to scraping. Then, when the jddcreatetree and jddupdatetree commands are executed, the contents of the tree display in the integrated operations viewer are reflected.
Information that is specified
- Oracle Database hostname
-
Specify the hostname of Oracle Database, between 1 and 253 characters. You can also specify FQDN format. "localhost" cannot be specified.
- Monitored name
-
Specifies an optional name to distinguish between monitored objects. Specifies a character string that is not a colon (:) or control character and that appears in IM management node labelname for integrated operation viewer. When URL is encoded, the character string must be between 1 and 234 bytes (the upper limit for all multibyte characters is 26 characters).
- OracleDB exporter port-number
-
Specifies the port number of OracleDB exporter to scrape to.
- Hostname to install to
-
Specifies the host name of the host on which OracleDB exporter is running.
Definition example
- targets:
- ORAHOST1:Accounting department DB:30001
- ORAHOST1:Human resources DB:30002
labels:
jp1_pc_exporter: OracleDB Exporter
jp1_pc_category: database
jp1_pc_trendname: oracledb_exporter
jp1_pc_remote_monitor_instance: hostA: OracleDB metric collector(OracleDB exporter)