Sample file of environment parameters file for jr3slget command (jr3slget.ini.sample)
- Organization of this page
Format
[CONNECT] ASHOST=localhost SYSNR=00 CLIENT=000 USER=CPIC PASSWD=ADMIN ;PASSWD2=ADMIN ;LANG=JA ;CODEPAGE=8000 [COMMAND] WORKDIR=../data/sap/command/jr3slget [TRACE] MSGLOG_LEVEL=2 MSGLOG_SIZE=512 MSGLOG_DIR=. DATALOG_LEVEL=2 DATALOG_SIZE=512 DATALOG_DIR=. [TARGET] ;SERVER= [FORMAT] ;COLUMN=<TIME> ;COLUMN=<INSTANCE> ;COLUMN=<USER> ;COLUMN=<PROGRAM> ;COLUMN=<MSGNO> ;COLUMN=<MSGTEXT> [EXTRACTFILE] TYPE=WRAP2 NUM=5 SIZE=10240 X2PATH=SYSLOG
File
jr3slget.ini.sample
Storage directory
- Integrated agent host
- In Windows:
-
-
For a physical host
Folder-to-extract-the-archive-file#-for-SAP-system-monitoring-for-Windows\sap_windows\command\agtm\evtrap\
- #
-
Agent-path\options\sap_windows_VVRRSS.zip
-
- In Linux:
-
-
For a physical host
Directory-to-extract-the-archive-file#-for-SAP-system-monitoring-for-Linux/sap_linux/command/agtm/evtrap/
- #
-
/opt/jp1ima/options/sap_linux_VVRRSS.tar.gz
-
Description
This is the input file of the jr3slget command used for SAP system monitoring. Since various environmental parameters are predefined, they must be created by the user. The user copies the sample file (jr3slget.ini.sample) and changes the file name of the destination to "any name.ini" and uses it.
For details on where to locate the files, see Appendix A.4(3) Integrated agent host (Windows) and Appendix A.4(4) Integrated agent host (Linux) in the JP1/Integrated Management 3 - Manager Overview and System Design Guide.
Note that the location of the default environment parameters file (the file that the system searches when -cnf option is not specified) is .ini of the command in the current directory when the command is executed.
Character code
ASCII
Line feed code
In Windows: CR+LF
In Linux: LF
When the definitions are applied
When the command is executed using Script exporter, it is reflected when Script exporter is restarted. If you execute the command in any other way, it will be reflected when you save the file.
Information that is specified
See Environment parameters file for jr3slget command (jr3slget.ini).
- COMMAND section
-
WORKDIR label
The WORKDIR label is set to change the working directory of the command from the default. The user must have created a directory with the path set in the WORKDIR label.
If multiple environment parameters files are created, such as when monitoring a multi-instance SAP system using the SAP system log extract command, a different path must be set for each WORKDIR label.
When Script exporter is used to execute the SAP system log extract command and the following values are set, a log file for the SAP system log extract command, a trace file for the SAP system log extract command, and a trace file for RFC library are output to the directory below, with the path relative to the working directory specified in service definition file of Script exporter.
../data/sap/command/jr3slget
- EXTRACTFILE section
-
TYPE label
If you use the script execution result monitoring function (Fluentd) to monitor output text files, you must specify the output format in WRAP2. When monitoring using the script execution result monitoring function (JP1/Base), it is also recommended to specify WRAP2.