Hitachi

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


Unit definition file (jpc_program-name.service)

Organization of this page

Format

[Unit]
Description = Unit description
After=local-fs.target remote-fs.target rsyslog.service network.target
[Service]
WorkingDirectory = Working directory
ExecStart = /bin/sh -c 'Program Command Line |& (trap "" 15 && exec install-directory/jp1ima/bin/rotatelogs -n 8#1 log output directory#2 10240K)'
Type = simple
Restart=no
User=root
TimeoutStopSec=Termination timeout period
LimitNOFILE=65536#3
Environment=SIGDUMP_PATH=-#3
[Install]
WantedBy=multi-user.target graphical.target
#1

Specify "100" only for unit definition file of Fluentd.

#2

The log-destination directory that is setup as the default value varies depending on the program. For the path of the default value, see List of files/directories that can be viewed/edited by the user in JP1/IM - Agent of integrated agent host (Linux) in Appendix A.4(4) Integrated agent host (Linux) in the JP1/Integrated Management 3 - Manager Overview and System Design Guide.

#3

Described only for unit definition file of Fluentd.

Description

This is a definition file for registering programs in systemctl in the Linux environment.

File

Storage directory

■Integrated agent host
  • For a physical host (Model File storage destination)

    /opt/jp1ima/conf/

  • For Physical host and Logical host (storage destination of definition file)

    /usr/lib/systemd/system/

The target of the installation is as follows:

Target name

Description

multi-user.target

runlevel=3

Multi-user mode (text login)

graphical.target

runlevel=5

Multi-user mode (graphical login)

Character code

UTF-8 (without BOM)

Line feed code

LF

When the definitions are applied

It is reflected when you run the systemctl daemon-reload command.

Information that is specified

The startup order of the services on which the Prometheus server, Alertmanager, and Exporter depend is shown below.

The ending timeout period is shown below.

Types of programs

End timeout period (in seconds)

Prometheus server

110

Alertmanager

60

Node exporter

Blackbox exporter

Yet another cloudwatch exporter

process_exporter

promitor_scraper

promitor_resource_discovery

script_exporter

Fluentd

OracleDB exporter

imagent

140

imagentproxy

imagentaction

60

The following are the areas that you can change:

The options for the node_exporter command and the yet-another-cloudwatch-exporter command are shown below.

Legend:

Y: Changeable, N: Not changeable, --: Not applicable

Legend:

Y: Changeable, --: Not applicable