Script exporter metric definition file (metrics_script_exporter.conf)
- Organization of this page
Syntax
The same as the JP1/IM - Agent Node exporter metric definition file.
File
metrics_script_exporter.conf
metrics_script_exporter.conf.model (model file)
Storage directory
- For Windows
-
- When using a physical host
-
Manager-path\conf\imdd\plugin\jp1pccs\
- When using a logical host
-
shared-folder\jp1imm\conf\imdd\plugin\jp1pccs\
- For Linux
-
- When using a physical host
-
/etc/opt/jp1imm/conf/imdd/plugin/jp1pccs/
- When using a logical host
-
shared-directory/jp1imm/conf/imdd/plugin/jp1pccs/
Description
This file defines the metric information of Script exporter 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.
For the Script exporter IM management node, definitions are reflected when the jddcreatetree command and the jddupdatetree command are executed.
Content description
See Content description in Node exporter metric definition file (metrics_node_exporter.conf) in (2. Definition Files) JP1/IM - Agent.
Model file settings (initial status)
The settings (initial status) of each metric described in the model file of the Script exporter metric definition file are shown below.
-
azure_virtual_machine_disk_read_bytes_total
■Settings (initial status)
Member name
Settings (initial status)
name
script_success
default
true
promql for the metric definition file (including $jp1im_TrendData_labels)
script_success and $jp1im_TrendData_labels
resource_en
category
script
label
Script success
description
Script exit status (0 = error, 1 = success)
unit
-
-
script_duration_seconds
■Settings (initial status)
Member name
Settings (initial status)
name
script_duration_seconds
default
true
promql for the metric definition file (including $jp1im_TrendData_labels)
script_duration_seconds and $jp1im_TrendData_labels
resource_en
category
script
label
Duration
description
Script execution time, in seconds
unit
seconds
-
script_exit_code
■Settings (initial status)
Member name
Settings (initial status)
name
script_exit_code
default
true
promql for the metric definition file (including $jp1im_TrendData_labels)
script_exit_code and $jp1im_TrendData_labels
resource_en
category
script
label
Exit code
description
Script execution time, in seconds
unit
-