XOS agent configuration
You can additionally monitor resources on the database server by setting the following options in the xos.conf file. To use this option, set the xos option to true in the whatap.conf file.
-
interconnect_nic String
RACIt collects network card information corresponding to the set option value. If this option is not set, interconnect-related metrics are not collected.
xos.conf# example
interconnect_nic=enp0s3Enter the network interface used for interconnect of Real Application Cluster (RAC) among the network interfaces confirmed by the
netstat -icommand. The set values are used to monitor the performance and activities of the network card. -
cpu_limit Int
Default
0It collects the process data with a value greater than the set limit. If it is 1.23% (1/100% step), set it to
123. -
mem_limit Int
Default
10240It collects the process data with a value greater than the set limit. 10240 (Kbytes) indicates 10 MB.
-
disk_usage_interval Second
Default
60Displays the disk utilizations, free sizes, and total sizes for each instance. If the value is
0, disk usage is not collected. -
process String
The execution status of processes can be monitored. Enter the process name as an option value. Multiple items can be registered using comma (,) as the delimiter.
xos.confprocess={process_name}For example, to set the top and lock.sh processes to be monitored, set the options as follows:
xos.confprocess=top,lock.shNoteYou can use the
processoption to send an alert when a process running on the database is ended. For more information, see the following. -
iplist_interval Second
You can collect a list of IPs for your database servers. Set the time interval in seconds (at least 3 seconds) for collection.
-
file String
To use the Log menus (Live Tail, Log Trend, Log Search, Log Configuration), enter the absolute path in the
fileoption for the log files to be monitored.xos.conffile=/opt/oracle/logTipTo add a logfile to monitor, add options in the same way as
file,file1,file2.xos.conffile={log_file_path1}
file1={log_file_path2}
file2={log_file_path3}
file3={log_file_path4}
User Metric Collection (SHMON)
SHMON periodically collects the results of user-defined shell scripts and stores them as metrics.
-
shmon Int
Default value:
1Supported version: dbx 2.55.01 or later & xos 1.2.0f or later
Configuration
- Create a
shmondirectory in the agent installation path. - Save the script to be collected as a
.shfile. - Enable SHMON in
xos.conf. - Restart the agent.
- In the
Sitemap > Metrics Search menu, check the
shmoncategory.
# xos.conf
shmon=1