Monitor Configuration File - Teradata Ecosystem Manager

Teradata Ecosystem Manager API Reference

Product
Teradata Ecosystem Manager
Release Number
16.10
Published
June 2017
Language
English (United States)
Last Update
2018-03-29
dita:mapPath
crq1488477755125.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3204
lifecycle
previous
Product Category
Analytical Ecosystem

The Ecosystem Manager Monitor reports on metrics based on the configuration file specified by the configFile parameter passed to the Ecosystem Manager Monitor application. The default locations of the configuration files are:

For Windows, modify the following file:

%EM_HOME%\services\emmmonitor\conf\wrapper.conf

For Linux or UNIX-based operating systems, modify the following file:

/opt/teradata/client/em/conf/emmonitor

If the file does not exist on the service startup of the EM Monitor, the monitor fails to run. A default configuration file can be generated on a Linux and UNIX system from the emmmonitor startup script with the “generate” option or on Windows in the batch file located at %EM_HOME%\services\emmonitor\bin\TMSMMonitor-Config.bat.

A copy of the content below is located in the $EM_HOME/conf directory and called emmonitorconfig.xml. For a typical Windows environment, the following configuration file is generated:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TMSMMonitorConfig xmlns="http://schemas.teradata.com/tmsm/v2009">
    <metricCollector monitorClass="com.teradata.tmsm.da.monitor.sigar.TDCPUMonitor" interval="30" name="TDCPUMon">
        <metric resourceType="CPUUSAGEPCT">
            <arg>cpu_used</arg>
        </metric>
        <metric resourceType="CPUSYSTEM">
            <arg>cpu_system</arg>
        </metric>
        <metric resourceType="CPUUSER">
            <arg>cpu_user</arg>
        </metric>
        <metric resourceType="CPUIOWAIT">
            <arg>cpu_io_wait</arg>
        </metric>
        <reporter class="com.teradata.tmsm.da.monitor.reporter.TMSMPublisher"/>
    </metricCollector>
    <metricCollector monitorClass="com.teradata.tmsm.da.monitor.sigar.TDMemMonitor" interval="180" name="TDMemMon">
        <metric resourceType="MEMUSAGEPCT">
            <arg>mem_used_percent</arg>
        </metric>
        <reporter class="com.teradata.tmsm.da.monitor.reporter.TMSMPublisher"/>
    </metricCollector>
    <metricCollector monitorClass="com.teradata.tmsm.da.monitor.sigar.TDDiskMonitor" interval="3600" name="TDDiskMon">
        <metric resourceType="DISKUSAGEPCT[C:\]">
            <arg>disk_used_percent</arg>
            <arg>C:\</arg>
        </metric>
        <metric resourceType="DISKREADRATE[C:\]">
            <arg>disk_reads_bytes</arg>
            <arg>C:\</arg>
        </metric>
        <metric resourceType="DISKWRITERATE[C:\]">
            <arg>disk_writes_bytes</arg>
            <arg>C:\</arg>
        </metric>
        <reporter class="com.teradata.tmsm.da.monitor.reporter.TMSMPublisher"/>
    </metricCollector>
    <metricCollector monitorClass="com.teradata.tmsm.da.monitor.sigar.TDNetMonitor" interval="30" name="TDNetMon">
        <metric resourceType="NETUSAGEPCT[eth0]">
            <arg>net_utilization_percent</arg>
            <arg>eth0</arg>
        </metric>
        <metric resourceType="NETRECEIVERATE[eth0]">
            <arg>net_rx_bytes</arg>
            <arg>eth0</arg>
        </metric>
        <metric resourceType="NETTRANSMITRATE[eth0]">
            <arg>net_tx_bytes</arg>
            <arg>eth0</arg>
        </metric>
        <reporter class="com.teradata.tmsm.da.monitor.reporter.TMSMPublisher"/>
    </metricCollector>
</TMSMMonitorConfig>